<?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 calc issue in model builder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807823#M2635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Curtis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are travel sheds. I got it to work. I exported it to python was able fix it from there with help from some of the developers I work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 18:49:57 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-02-27T18:49:57Z</dc:date>
    <item>
      <title>raster calc issue in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807821#M2633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I have a model that I could run on previous versions of ArcMap but not on 10.4.1. The last step in the model is a raster calculator expression that changes all null values to 0. The equation is "Con( IsNull( "%raster1%"), 0, "%raster1%" + Con( IsNull( "raster2%"), 0, "%raster2%")"&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;This equation works when running raster calc by itself but not when part of a model. I get error 000989, Python syntax error: Parsing error SyntaxError: unexpected EOF while Parsing (line1).&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Has anyone had a similar issue or have a work around?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 15:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807821#M2633</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-02-27T15:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: raster calc issue in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807822#M2634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the values in %raster1% and %raster2%? &amp;nbsp;What's the full dialog from the command window?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask because 1) you say it works when run as a tool and 2) the way Raster Calculator works in ModelBuilder is it first substitutes the values of variables into the string, does any raster path conversion (ie wrapping raster paths with Raster()) and then passes the resuling arcpy map algebra execute string to Python.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807822#M2634</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-02-27T18:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: raster calc issue in model builder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807823#M2635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Curtis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are travel sheds. I got it to work. I exported it to python was able fix it from there with help from some of the developers I work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:49:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calc-issue-in-model-builder/m-p/807823#M2635</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-02-27T18:49:57Z</dc:date>
    </item>
  </channel>
</rss>

