I want to calculate the range sequence, the Python script as follow:
this weirdness with cell statistics has been reported before
https://community.esri.com/thread/179829
I will look at the rasters, but I suspect it is a nodata issue, an extent issue or similar related environment properties
EDIT
I would file a case with tech support, especially in light of esri's default grid format being tiffs in recent versions.
Thanks. I have checked my RList seriously and removed the 'X_3_3.tif', but the problem still exists. Finally, I scaled the values to integer (Int("X_2_3.tif" * 100)) then determining the range, it works. Thank you for your patience and help.
DATA —At the processing cell location, if any of the input rasters has NoData, then that NoData value will be ignored. The statistics will be computed by only considering the cells with valid data. This is the default.
check your rlist since 0 is expected under one circumstance. Your workaround is fine.. perhaps you have a nodata value in one of the rasters... too hard to tell from your description
For statistic types Maximum, Minimum, Mean, Median, Majority, Minority and Sum, if a single raster is used as the input, the output cell values will be the same as the input cell values. For Range and STD the output cell values will all be 0, and for Variety, all 1.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.