<?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 Can I use the Raster Calculator with a Table Iterator? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662709#M9557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to perform a ???simple??? raster calculation using a Digital Elevation Model and a dbf table with a coefficient value (double); DEM10m * table value.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I need to do this over a thousand times and am trying to use the iterate table function in Model Builder to run through my list of dbf tables but get multiple errors each time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;ERROR 000539: Error running expression: rcexec()&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;expression&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 5, in rcexec&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4298, in Times&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_raster_or_constant2)&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Utils.py", line 47, in swapper&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = wrapper(*args, **kwargs)&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4295, in Wrapper&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ["Times", in_raster_or_constant1, in_raster_or_constant2])&lt;BR /&gt;RuntimeError: ERROR 000732: Input Raster: Dataset srg12_coef does not exist or is not supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;Failed to execute (Raster Calculator).&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Can a table iterator be used with the raster calculator? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the calculator to recognize/accept my tables? Do they need to be in a different format? Or do I need more explicit map algebra syntax that specifically tells the calculator to extract the value in row 1, column 2 of my tables? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be&amp;nbsp; so appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Melissa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2014 14:23:26 GMT</pubDate>
    <dc:creator>MelissaSlater</dc:creator>
    <dc:date>2014-05-06T14:23:26Z</dc:date>
    <item>
      <title>Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662709#M9557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to perform a ???simple??? raster calculation using a Digital Elevation Model and a dbf table with a coefficient value (double); DEM10m * table value.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I need to do this over a thousand times and am trying to use the iterate table function in Model Builder to run through my list of dbf tables but get multiple errors each time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;ERROR 000539: Error running expression: rcexec()&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;expression&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 5, in rcexec&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4298, in Times&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in_raster_or_constant2)&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Utils.py", line 47, in swapper&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = wrapper(*args, **kwargs)&lt;BR /&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4295, in Wrapper&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ["Times", in_raster_or_constant1, in_raster_or_constant2])&lt;BR /&gt;RuntimeError: ERROR 000732: Input Raster: Dataset srg12_coef does not exist or is not supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#ff0000;"&gt;Failed to execute (Raster Calculator).&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Can a table iterator be used with the raster calculator? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the calculator to recognize/accept my tables? Do they need to be in a different format? Or do I need more explicit map algebra syntax that specifically tells the calculator to extract the value in row 1, column 2 of my tables? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be&amp;nbsp; so appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Melissa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 14:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662709#M9557</guid>
      <dc:creator>MelissaSlater</dc:creator>
      <dc:date>2014-05-06T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662710#M9558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to iterate through a single table, with each row providing a value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662710#M9558</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-05-06T20:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662711#M9559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Multiple tables each with a single row...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662711#M9559</guid>
      <dc:creator>MelissaSlater</dc:creator>
      <dc:date>2014-05-06T20:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662712#M9560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Melissa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the thread below can help you further: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/95111-multiplication-raster-by-table"&gt;http://forums.arcgis.com/threads/95111-multiplication-raster-by-table&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although it is based on a single table and does not use ModelBuilder but&amp;nbsp; Python coding, it should be able to provide you some insights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 08:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662712#M9560</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-05-07T08:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662713#M9561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Multiple tables each with a single row...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case, the tool you need to use is Get Field Value, which can pull the value from the field into a model variable which you can in turn use in the Raster Calculator expression.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 21:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662713#M9561</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-05-07T21:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the Raster Calculator with a Table Iterator?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662714#M9562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In that case, the tool you need to use is Get Field Value, which can pull the value from the field into a model variable which you can in turn use in the Raster Calculator expression.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is just what I needed. Thank you!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 14:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/can-i-use-the-raster-calculator-with-a-table/m-p/662714#M9562</guid>
      <dc:creator>MelissaSlater</dc:creator>
      <dc:date>2014-05-08T14:08:42Z</dc:date>
    </item>
  </channel>
</rss>

