You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling geoviewer.py with arguments -vmin or -vmax set to a percentile value, the nodata values are not taken into account. This is particularly visible if the requested percentile value falls within the nodata, because the min/max value set can be the nodata value.
To Reproduce
Run geoviewer.py on the ASTER dataset, with -vmin=1%: geoviewer.py Exploradores_ASTER/AST_L1A_00303182012144228_Z.tif -vmin 1%
The color scale starts at -9999.
Expected behavior
Masked values should be ignored when calculating the percentile.
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling geoviewer.py with arguments
-vmin
or-vmax
set to a percentile value, the nodata values are not taken into account. This is particularly visible if the requested percentile value falls within the nodata, because the min/max value set can be the nodata value.To Reproduce
Run geoviewer.py on the ASTER dataset, with
-vmin=1%
:geoviewer.py Exploradores_ASTER/AST_L1A_00303182012144228_Z.tif -vmin 1%
The color scale starts at -9999.
Expected behavior
Masked values should be ignored when calculating the percentile.
The text was updated successfully, but these errors were encountered: