<?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 Using Delete Tool in ModelBuilder in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-delete-tool-in-modelbuilder/m-p/1216499#M60337</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the latest ArcGIS Pro 3.02 to process a large dataset. The input is a polygon feature class which contains the distribution of 6000+ species. In the attribute table, each row represents the distribution of a particular species.&lt;/P&gt;&lt;P&gt;Using the Iterate Row Selection tool, I am trying to select the polygons, convert rasters, and collect the raster values (species by species). This submodel looks as follows&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_0-1664285661842.png" style="width: 793px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52282i460E52456AE4B8FD/image-dimensions/793x153?v=v2" width="793" height="153" role="button" title="SiqingChen_0-1664285661842.png" alt="SiqingChen_0-1664285661842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then dragged and dropped this submodel into another model witht the Cell Statistic tool to sum up number of species in each pixel&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_1-1664285887390.png" style="width: 547px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52283i01AFDAF9AFC85E3C/image-dimensions/547x78?v=v2" width="547" height="78" role="button" title="SiqingChen_1-1664285887390.png" alt="SiqingChen_1-1664285887390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I test-ran the model using a subset of the original input species data (10 species), it worked fine and the final outcome makes sense.&amp;nbsp;The only issue is it takes about 1min to process 1 species in the submodel, 6000+ species means 100+ hours.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried saving everything in_memory - the model runs so fast and it completed 150 species within a few minutes, then it reported the &lt;STRONG&gt;Out of memory&lt;/STRONG&gt; error and stopped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, after some research, I added the Delete tool to the submodel (see below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_2-1664286731341.png" style="width: 794px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52284i90FCAAED990A6095/image-dimensions/794x183?v=v2" width="794" height="183" role="button" title="SiqingChen_2-1664286731341.png" alt="SiqingChen_2-1664286731341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again the submodel can process all 6000+ species within 2 hours (using in_memory), however when it comes to the Cell Statistics tool, it reports the following error&lt;/P&gt;&lt;PRE&gt;ERROR 999999:&lt;SPAN class=""&gt; Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Function Read Error [Local Function]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Function Read Error [Local Function]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (Cell Statistics).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I then removed the Delete tool and re-run the model for the 10 species subset of the data, and it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is if there is a faster way to process the whole dataset. I haven't tried the 100+ hrs approach yet.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 14:06:43 GMT</pubDate>
    <dc:creator>SiqingChen</dc:creator>
    <dc:date>2022-09-27T14:06:43Z</dc:date>
    <item>
      <title>Using Delete Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-delete-tool-in-modelbuilder/m-p/1216499#M60337</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the latest ArcGIS Pro 3.02 to process a large dataset. The input is a polygon feature class which contains the distribution of 6000+ species. In the attribute table, each row represents the distribution of a particular species.&lt;/P&gt;&lt;P&gt;Using the Iterate Row Selection tool, I am trying to select the polygons, convert rasters, and collect the raster values (species by species). This submodel looks as follows&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_0-1664285661842.png" style="width: 793px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52282i460E52456AE4B8FD/image-dimensions/793x153?v=v2" width="793" height="153" role="button" title="SiqingChen_0-1664285661842.png" alt="SiqingChen_0-1664285661842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then dragged and dropped this submodel into another model witht the Cell Statistic tool to sum up number of species in each pixel&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_1-1664285887390.png" style="width: 547px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52283i01AFDAF9AFC85E3C/image-dimensions/547x78?v=v2" width="547" height="78" role="button" title="SiqingChen_1-1664285887390.png" alt="SiqingChen_1-1664285887390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I test-ran the model using a subset of the original input species data (10 species), it worked fine and the final outcome makes sense.&amp;nbsp;The only issue is it takes about 1min to process 1 species in the submodel, 6000+ species means 100+ hours.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried saving everything in_memory - the model runs so fast and it completed 150 species within a few minutes, then it reported the &lt;STRONG&gt;Out of memory&lt;/STRONG&gt; error and stopped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, after some research, I added the Delete tool to the submodel (see below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SiqingChen_2-1664286731341.png" style="width: 794px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52284i90FCAAED990A6095/image-dimensions/794x183?v=v2" width="794" height="183" role="button" title="SiqingChen_2-1664286731341.png" alt="SiqingChen_2-1664286731341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again the submodel can process all 6000+ species within 2 hours (using in_memory), however when it comes to the Cell Statistics tool, it reports the following error&lt;/P&gt;&lt;PRE&gt;ERROR 999999:&lt;SPAN class=""&gt; Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Function Read Error [Local Function]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Function Read Error [Local Function]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Failed to execute (Cell Statistics).&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I then removed the Delete tool and re-run the model for the 10 species subset of the data, and it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is if there is a faster way to process the whole dataset. I haven't tried the 100+ hrs approach yet.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 14:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-delete-tool-in-modelbuilder/m-p/1216499#M60337</guid>
      <dc:creator>SiqingChen</dc:creator>
      <dc:date>2022-09-27T14:06:43Z</dc:date>
    </item>
  </channel>
</rss>

