<?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: Iterate a raster hundreds of times with raster calculator in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/iterate-a-raster-hundreds-of-times-with-raster/m-p/310445#M10732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;**Update! I managed to make it work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2019 17:31:49 GMT</pubDate>
    <dc:creator>CatherineBaltazar</dc:creator>
    <dc:date>2019-08-08T17:31:49Z</dc:date>
    <item>
      <title>Iterate a raster hundreds of times with raster calculator</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-a-raster-hundreds-of-times-with-raster/m-p/310444#M10731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/456604_Model_iterateRaster_test.png" /&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to iterators in model builder (i use ArcGIS Pro 2.4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i'm trying to do :&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a relatively large DEM (50km by 200km in Lidar - 1m resolution) with big gaps of NoData in some lake centers. I want to fill these gaps by a cells of value of the Mean of the cells around them. So i'm using raster calculator&amp;nbsp;like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Con(IsNull("MNT_RPNS_m"), FocalStatistics("MNT_RPNS_m", NbrRectangle(6,6,"CELL"), "MEAN"), "MNT_RPNS_m")&amp;nbsp; Output : MNT_RPNS_fill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the gaps are so big that i will need to do a lot of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Tried two type of iterators 1 : While and 2 : for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: I tried to use the "while iterator" with a value of "IsNull(&lt;SPAN&gt;("MNT_RPNS_m")"&amp;nbsp; -&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;&amp;gt;&lt;/SPAN&gt;&amp;nbsp;continue &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and link it to my raster calculator (Pre condition) so it runs till there is no more NoData.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Its runs for one time and than its stops with the error : "000733: &amp;lt;value&amp;gt;: Same as input &amp;lt;value&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2: I tried with the "for iterator" with value of 1 to 5 (planning to do 1 to 100 when it would work) And connecting the loop to the raster calculator and changing the output to "&amp;nbsp;MNT_fill%Value%". I added a Feedback loop to it connected to the input, so it would redo the rastercalculator with the newly created raster "MNT_Fill1".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It worked for "MNT_Fill1", but for the second one i got the same message as for the while iterator "000733: &amp;lt;value&amp;gt;: Same as input &amp;lt;value&amp;gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have an idea of how i could make this work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will be posting pictures of the models later today (my ArcGIS is loading something right now)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 15:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-a-raster-hundreds-of-times-with-raster/m-p/310444#M10731</guid>
      <dc:creator>CatherineBaltazar</dc:creator>
      <dc:date>2019-08-08T15:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate a raster hundreds of times with raster calculator</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterate-a-raster-hundreds-of-times-with-raster/m-p/310445#M10732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;**Update! I managed to make it work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterate-a-raster-hundreds-of-times-with-raster/m-p/310445#M10732</guid>
      <dc:creator>CatherineBaltazar</dc:creator>
      <dc:date>2019-08-08T17:31:49Z</dc:date>
    </item>
  </channel>
</rss>

