<?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 Raster calculator error in Model builder in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-calculator-error-in-model-builder/m-p/207193#M2951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; I want to perform a raster calculation over and over again, about 300 times, adding rasters that all end in the same number.&amp;nbsp; There are 3 sets of suitability rasters – gwv, sac and spa.&amp;nbsp; These have each been multiplied 300 times, by certain weights, resulting in wt_gwv%n%, wt_sac%n% and wt_spa%n%, where %n% is 0 - 300.&amp;nbsp; I now want to add the three rasters that end with the same number.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I am using the raster caculator, adding the rasters that end with the same %n%, but when I run it, I get the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR 000539: Error running expression: rcexec() &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;expression&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 8, in rcexec&lt;/P&gt;&lt;P&gt;AttributeError: 'str' object has no attribute 'save'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with python, as I know this would probably be simple to do that way. How do I get around this issue using the raster caculator in Model Builder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 08:33:29 GMT</pubDate>
    <dc:creator>MalteHelfer</dc:creator>
    <dc:date>2014-09-05T08:33:29Z</dc:date>
    <item>
      <title>Raster calculator error in Model builder</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-calculator-error-in-model-builder/m-p/207193#M2951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; I want to perform a raster calculation over and over again, about 300 times, adding rasters that all end in the same number.&amp;nbsp; There are 3 sets of suitability rasters – gwv, sac and spa.&amp;nbsp; These have each been multiplied 300 times, by certain weights, resulting in wt_gwv%n%, wt_sac%n% and wt_spa%n%, where %n% is 0 - 300.&amp;nbsp; I now want to add the three rasters that end with the same number.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I am using the raster caculator, adding the rasters that end with the same %n%, but when I run it, I get the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR 000539: Error running expression: rcexec() &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;expression&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 8, in rcexec&lt;/P&gt;&lt;P&gt;AttributeError: 'str' object has no attribute 'save'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with python, as I know this would probably be simple to do that way. How do I get around this issue using the raster caculator in Model Builder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 08:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-calculator-error-in-model-builder/m-p/207193#M2951</guid>
      <dc:creator>MalteHelfer</dc:creator>
      <dc:date>2014-09-05T08:33:29Z</dc:date>
    </item>
  </channel>
</rss>

