<?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 in ArcMap Model v Pro Model in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1336124#M3923</link>
    <description>&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;I think you may need to remove the space in&amp;nbsp;&lt;SPAN&gt;%Path Name%.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Oct 2023 03:30:16 GMT</pubDate>
    <dc:creator>ChristopherDalu</dc:creator>
    <dc:date>2023-10-08T03:30:16Z</dc:date>
    <item>
      <title>Raster Calculator in ArcMap Model v Pro Model</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1336068#M3922</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a model that I have been using in ArcMap for some time. A part of the model uses Raster Calculator to multiply a raster by a weighting (1 to 3) and stores the result in a .gdb.&lt;/P&gt;&lt;P&gt;The raster file is referenced via its name and pathname through a variable called 'Path Name' and the weight is supplied through a variable called 'Weight'. In the ArcMap model the simple Raster Calculator map algebra expression that worked was:&lt;/P&gt;&lt;P&gt;"%Path Name%" * %Weight% in ArcMap.&lt;/P&gt;&lt;P&gt;I have now recreated the model in Pro but the same map algebra expression keeps on giving the following error:&lt;/P&gt;&lt;P&gt;Error 000989 Python syntax error: File "&amp;lt;string&amp;gt;", line 1&lt;BR /&gt;"%Path Name%" * %Weight%&lt;BR /&gt;^&lt;BR /&gt;SyntaxError: invalid syntax&lt;/P&gt;&lt;P&gt;Any idea what the problem is with this?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 16:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1336068#M3922</guid>
      <dc:creator>JPGlee</dc:creator>
      <dc:date>2023-10-07T16:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Calculator in ArcMap Model v Pro Model</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1336124#M3923</link>
      <description>&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;I think you may need to remove the space in&amp;nbsp;&lt;SPAN&gt;%Path Name%.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 03:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1336124#M3923</guid>
      <dc:creator>ChristopherDalu</dc:creator>
      <dc:date>2023-10-08T03:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Calculator in ArcMap Model v Pro Model</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1340559#M3926</link>
      <description>&lt;P&gt;Either that or replace it with an underscore "%Path_Name%". My experiences is that spaces in variable names for rasters broke raster calculator parameter validation (checking) before substitution in the ArcMap raster calculator as well.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 16:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/raster-calculator-in-arcmap-model-v-pro-model/m-p/1340559#M3926</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2023-10-23T16:36:43Z</dc:date>
    </item>
  </channel>
</rss>

