Skip to content
Snippets Groups Projects
Commit ecead438 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Removing the omitting of no data vlaues

parent a8bf24f8
No related branches found
No related tags found
No related merge requests found
Pipeline #772 passed
...@@ -196,7 +196,7 @@ class GeoTIFFService: ...@@ -196,7 +196,7 @@ class GeoTIFFService:
if categorical: if categorical:
# Ignore no-data value (assumed to be 0) # Ignore no-data value (assumed to be 0)
masked_band_data = masked_band_data[masked_band_data != 0] #masked_band_data = masked_band_data[masked_band_data != 0]
# Compute categorical statistics for each band # Compute categorical statistics for each band
unique, counts = np.unique(masked_band_data, return_counts=True) unique, counts = np.unique(masked_band_data, return_counts=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment