Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share of enriched pixels #10

Open
vwvbrand opened this issue Oct 31, 2024 · 0 comments
Open

Share of enriched pixels #10

vwvbrand opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vwvbrand
Copy link
Contributor

vwvbrand commented Oct 31, 2024

Once the enriched output dataset is successfully created, it is important to know the share of enriched pixels.
It can be performed through simple NumPy calculation (we should avoid GDAL raster calculator), similar to this:
lulc_upd - initial_lulc
Then, the share of enriched pixels will be:
1-(zero_pixel_count+no_data_pixel_count/total_pixel_count)

@vwvbrand vwvbrand added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant