sdthompson

cell statistics error

Discussion created by sdthompson on Aug 6, 2013
Hello
I am trying to calculate the standard deviation of a stack of 45 raster image files. I initally tried writing a simple script using Arcpy, but the results were not what I expected (values were very large and non-sensical). My script was identical to ones I used for calculating the sum and mean of the same rasters. The scripts worked perfectly. But when I replaced "sum" or "mean" with "STD", there was a problem.

I decided to try to compare the output from within ArcGIS because of something I found online indicating it may be a bug with python (http://gis.stackexchange.com/questions/8780/spatial-analyst-cell-statistics-seems-to-give-the-wrong-answer-in-arcgis-10-0)

Outcomes