<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200728#M15431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out what the issue was...definitely a mistake on my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input rasters were 32 bit but not floating point. I reran the analysis using a copy of the data that was floating point and everything worked fine. Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;​ &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 15:18:22 GMT</pubDate>
    <dc:creator>StephenPalka1</dc:creator>
    <dc:date>2016-03-10T15:18:22Z</dc:date>
    <item>
      <title>ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200723#M15426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;Hey everyone, I've been having some issues using the cell statistics tool in a python script recently. The issue is occurring in a stand alone script. I am trying to calculate standard deviation across 30 tif's representing annual cumulative rainfall for the globe.&lt;/P&gt;&lt;P style="margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;While most of the values in the resulting raster (also a tif) are correct, there are large pockets of data that have extremely high standard deviation values (around 2000 - 3000 when they should be around 150).&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;When I run the same analysis in ArcGIS using the cell statistics geoprocessing tool the output is correct and I do not see these irregular values.&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;Does anyone have any idea why this would be happening? I assumed at first it was something wrong with my script but how could only some of the values be incorrect? There are also no no data values in these issue areas that could be causing the miscalculation although there is a no data value set in all of the input rasters.&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;I am providing statistics on the two raster in case it is helpful to anyone.&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;script output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;min = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;max = 6697.9404296875&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mean = 75.83343676729601&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;std. dev. = 333.72000491046&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0.357143em; margin-bottom: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.357143em; font-size: 14px; color: #4d5763; font-family: verdana, arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;arcmap output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;min = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;max = 1507.4833984375&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mean = 35.804817248754&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;std. dev. = 84.35107381816201&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200723#M15426</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-09T22:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200724#M15427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are there nodata cells and what are their values and what option did you use to account for them in the cell statistics options&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/cell-statistics.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/cell-statistics.htm"&gt;Cell Statistics—Help | ArcGIS for Desktop&lt;/A&gt; even if you are coding, you will need to ensure that the cells align and are of the same size and the same nodata value in order to compute properly &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:19:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200724#M15427</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-09T22:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200725#M15428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have manually executed the tool, you can copy the python snippet from the Results window. This will give you the code you can use to perform the exact same operation from Python (assuming the you don't have any strange setting in you geoprocessing environment). If you execute that python command, does that yield the same output and the manually executed tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, could you post your code that you used to generate the result with Python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 00:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200725#M15428</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-03-10T00:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200726#M15429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I manually executed the tool and then copied the code snipped from the results window. I ran the provided python code in both the python environment within ArcMap and as a standalone script in PyScripter. Both of these resulted in the same raster that was created when I manually executed the tool. All of the values in these rasters appeared to be correct. Do you want to see the code provided by the manual execution of the tool or the python code that I wrote that is giving me incorrect results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200726#M15429</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T14:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200727#M15430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, I'm sorry. I think you replied to a previous post that I had deleted. I wanted to delete it to change my answer after looking at the data again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are nodata values in the input rasters. They are being reported as -3.40282346639e+038 in the Layer Properties window. I am using the "DATA" option in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do believe that the rasters align. I checked and they do all have the same extent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:44:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200727#M15430</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T14:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200728#M15431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out what the issue was...definitely a mistake on my end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input rasters were 32 bit but not floating point. I reran the analysis using a copy of the data that was floating point and everything worked fine. Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;​ &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200728#M15431</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200729#M15432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wondered what was going on... I hope you saw my answer about the raster type and no data... I though I was losing my mind... well... more than I have already&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200729#M15432</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-10T15:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200730#M15433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fortunately your reply that got deleted was sent to my email so I was able to read it. That's why I checked the input data again to make sure it was floating point. I forgot that you could have 32 bit integer rasters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The particular analysis I am performing is using 30 rasters representing annual cumulative rainfall for the globe. I was asked to calculate coefficient of variation (possibly a simplified version) by dividing the standard deviation of the dataset by the mean of the dataset ((std / mean) * 100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway that I could use integer values as input for such a calculation? It would be nice to save some space on disk by saving the input at a lower bit depth. The values only range from 0 mm - around 12000 mm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200730#M15433</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T15:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200731#M15434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Integers are fine... since they are within the realm of interval/ratio data.&amp;nbsp; There is no need to have a decimal point to perform "method of moments" calculations, your data are simply scaled to mm instead of meters or cm and the spacing between increments on the number scale are equal and have real/physical meaning.&amp;nbsp; The only thing you can't do the maths on is nominal or ordinal data (ie classes or ranks)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use numpy arrays to consolidate space and speed up raster processing,&amp;nbsp; You can save large arrays in binary format and reload them much like you can with other raster data.&amp;nbsp; There is a recent post (linkless at the moment) dealing with raster processing for climate data whcih gives some basics.&amp;nbsp; If you are familiar with python and numpy then there is a small group dealing with arrays, data and python &lt;A href="https://community.esri.com/group/1732"&gt;NumPy Repository&lt;/A&gt;​ and other esoterica in data processing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200731#M15434</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-10T16:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200732#M15435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the link to the NumPy repository. I'll definitely take a look at that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the integer input is what was causing the extremely high (2500-ish instead of 150-ish) standard deviation values though? Or am I misunderstanding the issue. Sorry for all the questions. I'm just trying to understand what happened so I don't run into a similar issue again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200732#M15435</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T16:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200733#M15436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes means and std devs are in the units of the data... which isn't a problem, just state your problem and report your results that way&amp;nbsp; you could scale everything cm or meter though, since the scaling is proportional&lt;/P&gt;&lt;P&gt;xm = 10 mm std dev = 20 mm is the same as 1 cm, 2 cm ... 1m 2m.&amp;nbsp; But you will only believe me when you do the math in a spreadsheet ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200733#M15436</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-10T16:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200734#M15437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I understand that mean and standard deviation would be reported in the units of the data. In my case all input data is in mm so the mean and standard deviation would also be in mm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm asking about the large discrepancy I was seeing between the standard deviation that was calculated using integer input and floating point input (both in mm units). When my analysis was run using integer values I would get a standard deviation value for a particular pixel of around 2000. When I ran the analysis again using floating point input the value changed for the same pixel to around 300 - the value of around 300 being the correct standard deviation value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would there be such a large difference between these two values? I would expect to see a small variance across the two calculations but nothing close to the difference I was seeing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 17:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200734#M15437</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T17:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200735#M15438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good idea, initially, might be to work with a subset of your data, say 3 rasters and in ArcMap zoom to a single pixel and use identify to get the value of all 4 (3 input and 1 output from CellStats) at that location.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="a.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/190633_a.png" style="width: 620px; height: 433px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 17:47:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200735#M15438</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2016-03-10T17:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200736#M15439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been doing some more testing and found a couple of things. It looks like the issue is cropping up when the input rasters are below 32 bit. I must have been mistaken before when I said the input was 32 bit integer rasters. When input is 16 bit I am seeing the very high std dev values. When I do the same calculation using 32 bit floats or ints the issue disappears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching two screen shots of an Identify I did on a pixel that I see as having issues. I included all 30 input and unfortunately I could not fit it all in one screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="identify1.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/190661_identify1.JPG" style="width: 620px; height: 893px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="identify2.JPG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/190662_identify2.JPG" style="width: 620px; height: 892px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 18:28:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200736#M15439</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200737#M15440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a possibility that since the input values are so large that when the standard deviation is being calculated the total (for calculating mean) is hitting the limit of what a 16 bit integer can hold (65,535)? That would greatly decrease the mean and lead to increased deviation in the calculation. It could also explain why the calculation works when using 32 bit rasters as input and only gives me incorrect values in some areas of the output when using 16 bit rasters as input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just floating the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize the mean in the screen shots is correct for the given numbers but that was calculated in a separate call to the cell statistics tool just to show what the mean should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 19:51:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200737#M15440</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T19:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200738#M15441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;time to try something other than a tiff as the inputs to this process ... esri grid or numpy array... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:08:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200738#M15441</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-10T20:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200739#M15442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I converted all of my 16bit integer tifs to grids with integer values. The analysis ran correctly and gave me results identical to using 32 bit tifs as input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200739#M15442</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-10T20:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200740#M15443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the 16 bit integer tifs, what is their NoData value? Are all the input rasters in the same cell size? (I am suspecting that this issue is related to NoData handling during the resampling). You may find out the NoData and Cell Size info from the layer properties dialog, as shown by the following screen capture:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="layerprops.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/191113_layerprops.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 21:13:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200740#M15443</guid>
      <dc:creator>XuguangWang</dc:creator>
      <dc:date>2016-03-15T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200741#M15444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/171685"&gt;Sum 6,000+ rasters - Python script&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/173806"&gt;6,000+ rasters the follow-up&lt;/A&gt;&lt;/P&gt;&lt;P&gt;plus other show the use of numpy arrays to perform those calculations for multidimensional data quickly accounting for nodata values of all types.&amp;nbsp; Not much use this time, but if you are working with more than a raster or two covering an area, consider using this alternative.&amp;nbsp; Sample code is included in the last link and in a recent blog post on raster reclassification I did in the Py Links. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 21:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200741#M15444</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-15T21:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.2.2 arcpy Cell Statistics giving Incorrect Values</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200742#M15445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it took so long to respond. Was busy with work. Here is a screen shot of a layers properties window. All of the input rasters have the same properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="layer_properties.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/192659_layer_properties.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 16:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-2-2-arcpy-cell-statistics-giving/m-p/200742#M15445</guid>
      <dc:creator>StephenPalka1</dc:creator>
      <dc:date>2016-03-21T16:08:40Z</dc:date>
    </item>
  </channel>
</rss>

