<?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 Batch raster mean to one output file? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/batch-raster-mean-to-one-output-file/m-p/645905#M9331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd really like to know if there is an automated process for taking a folder full or rasters and dumping their means into &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;one&lt;/SPAN&gt;&lt;SPAN&gt; file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found one tool that was written for 3.2, that doesn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; And another that uses an aml and an excel script.&amp;nbsp; I've only got ArcEditor so running an aml isn't going to work either! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edited to add: link with these solutions &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/thread.asp?c=93&amp;amp;f=995&amp;amp;t=223578"&gt;http://forums.esri.com/thread.asp?c=93&amp;amp;f=995&amp;amp;t=223578&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found many ways to automate the process of creating a new file with the mean in it, but I've got hundreds of rasters and editing hundreds of dbfs afterwards would take as long as looking at the raster properties in ArcMap and typing them out.&amp;nbsp; I could put together a script in excel that would combine them, but wanted to do this more on the GIS side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is the possibility of using Zonal Stats as table too&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ZonalStatisticsAsTable_sa (in_zone_data, zone_field, in_value_raster, out_table, ignore_nodata) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you could refer to a table listing your rasters for in_value_raster and print outputs to a single table.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked at the Calculate Statistics tool and Get Raster Properties tool.&amp;nbsp; The Get Raster Properties that would either loop through all rasters in a directory, or read rasters from a file and would print those mean values to a file (instead of the screen in the output dialog) would be perfect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated, I know this is a topic that's been around for a long time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 19:19:58 GMT</pubDate>
    <dc:creator>BryceStath</dc:creator>
    <dc:date>2010-12-21T19:19:58Z</dc:date>
    <item>
      <title>Batch raster mean to one output file?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/batch-raster-mean-to-one-output-file/m-p/645905#M9331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd really like to know if there is an automated process for taking a folder full or rasters and dumping their means into &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;one&lt;/SPAN&gt;&lt;SPAN&gt; file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found one tool that was written for 3.2, that doesn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; And another that uses an aml and an excel script.&amp;nbsp; I've only got ArcEditor so running an aml isn't going to work either! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edited to add: link with these solutions &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/thread.asp?c=93&amp;amp;f=995&amp;amp;t=223578"&gt;http://forums.esri.com/thread.asp?c=93&amp;amp;f=995&amp;amp;t=223578&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found many ways to automate the process of creating a new file with the mean in it, but I've got hundreds of rasters and editing hundreds of dbfs afterwards would take as long as looking at the raster properties in ArcMap and typing them out.&amp;nbsp; I could put together a script in excel that would combine them, but wanted to do this more on the GIS side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is the possibility of using Zonal Stats as table too&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ZonalStatisticsAsTable_sa (in_zone_data, zone_field, in_value_raster, out_table, ignore_nodata) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you could refer to a table listing your rasters for in_value_raster and print outputs to a single table.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked at the Calculate Statistics tool and Get Raster Properties tool.&amp;nbsp; The Get Raster Properties that would either loop through all rasters in a directory, or read rasters from a file and would print those mean values to a file (instead of the screen in the output dialog) would be perfect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated, I know this is a topic that's been around for a long time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 19:19:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/batch-raster-mean-to-one-output-file/m-p/645905#M9331</guid>
      <dc:creator>BryceStath</dc:creator>
      <dc:date>2010-12-21T19:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Batch raster mean to one output file?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/batch-raster-mean-to-one-output-file/m-p/645906#M9332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found this....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=14607"&gt;http://arcscripts.esri.com/details.asp?dbid=14607&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;BR /&gt;Summary&lt;BR /&gt;This simple script runs the Zonal Statistics as Table in batch mode. The loop reads from a list of rasters, summarizing grid values by the zone of another layer. Pathways and input values have to be changed to work with your data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 21:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/batch-raster-mean-to-one-output-file/m-p/645906#M9332</guid>
      <dc:creator>BryceStath</dc:creator>
      <dc:date>2011-01-03T21:17:54Z</dc:date>
    </item>
  </channel>
</rss>

