<?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: Averaging raster grids with missing values in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457878#M6567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean focal statisitcs? I'm assuming you mean using this to fill in the gaps? I have tried this, and for when the gaps are really small, it works well. However, I'm finding that some of the gaps are quite large, so it would be preferable to find a workaround in that the "NoData" is merely ignored in the raster calculation (but still utuilizes the rasters where data is available). I'm rather surprised this isn't an option, actually. Am I missing something??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should mention I still have 9.3, if this makes a difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 14:46:19 GMT</pubDate>
    <dc:creator>JenB</dc:creator>
    <dc:date>2012-04-09T14:46:19Z</dc:date>
    <item>
      <title>Averaging raster grids with missing values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457876#M6565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have 10 raster grids and need to generate a summary raster that is the mean of all 10. Unfortunately, there are some missing values (which I guess No Data are actually coded as -9999) in a couple of the rasters, and when I simply use the raster calculator, it only evaluates where data is available in all grids. So there are gaps in the summary "mean" raster. I'd rather that the mean is generated by ignoring where there are NaNs. For instance, if there is a gap in Grid 1, the mean for that gap area is just calculated from Grids 2-10. Any ideas on how to do this?&amp;nbsp; Maybe some Python code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OR is there a way to interpolate the rasters with holes? I've only interpolated on point values before so I'm not sure if this is possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 12:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457876#M6565</guid>
      <dc:creator>JenB</dc:creator>
      <dc:date>2012-04-09T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging raster grids with missing values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457877#M6566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you thought of using the CellStatistics tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 14:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457877#M6566</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2012-04-09T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging raster grids with missing values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457878#M6567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean focal statisitcs? I'm assuming you mean using this to fill in the gaps? I have tried this, and for when the gaps are really small, it works well. However, I'm finding that some of the gaps are quite large, so it would be preferable to find a workaround in that the "NoData" is merely ignored in the raster calculation (but still utuilizes the rasters where data is available). I'm rather surprised this isn't an option, actually. Am I missing something??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should mention I still have 9.3, if this makes a difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 14:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457878#M6567</guid>
      <dc:creator>JenB</dc:creator>
      <dc:date>2012-04-09T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging raster grids with missing values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457879#M6568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do mean CellStatistics and a major update was made in ArcGIS 10 to control the handling of NoData, see&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Cell_Statistics/009z0000007q000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Cell_Statistics/009z0000007q000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in particular the section on ignore_nodata&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457879#M6568</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2012-04-09T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Averaging raster grids with missing values</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457880#M6569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I should mention I still have 9.3, if this makes a difference.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still&amp;nbsp; are at 9.3, you can't use these (excellent) updates Steve mentions. I can't think of an easy workaround off the top of my head that does what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One approach to fill in holes to consider is the Nibble function. This will fill in NoData errors irregardless of how big they are. A hybrid approach of doing focal statistics, followed by nibble to fill in the remaining holes may be your best approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 19:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/averaging-raster-grids-with-missing-values/m-p/457880#M6569</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-04-09T19:14:05Z</dc:date>
    </item>
  </channel>
</rss>

