<?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: raster calculator from model builder to python returning error &amp;quot; 'int' object has no attribute 'save&amp;quot; in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/raster-calculator-from-model-builder-to-python/m-p/357953#M28279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See your other post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2018 14:03:50 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-05-08T14:03:50Z</dc:date>
    <item>
      <title>raster calculator from model builder to python returning error " 'int' object has no attribute 'save"</title>
      <link>https://community.esri.com/t5/python-questions/raster-calculator-from-model-builder-to-python/m-p/357952#M28278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hie there.&lt;/P&gt;&lt;P&gt;I used model builder to automate my work flow. in the model i used raster calculator tool and it worked perfectly well. when i exported the model to a python scripted, it returned and error :&amp;nbsp;'int' object has no attribute 'save'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp; a way of correcting the code or an alternative. the code is below. Thank you.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.gp.RasterCalculator_sa(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"(&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\"&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;%FlowAcc%&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\"&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt; &amp;gt; 5000)"&lt;/SPAN&gt;, Rstream)
i want to select all Flow Accumulation values greater than 5000 and save them to Rstream


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-calculator-from-model-builder-to-python/m-p/357952#M28278</guid>
      <dc:creator>SimbarasheKapfumo</dc:creator>
      <dc:date>2021-12-11T16:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator from model builder to python returning error " 'int' object has no attribute 'save"</title>
      <link>https://community.esri.com/t5/python-questions/raster-calculator-from-model-builder-to-python/m-p/357953#M28279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See your other post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 14:03:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-calculator-from-model-builder-to-python/m-p/357953#M28279</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-08T14:03:50Z</dc:date>
    </item>
  </channel>
</rss>

