<?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 issues! in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535726#M30342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In the Results window, what is the exact syntax that is being run?&amp;nbsp; Can you post that?&amp;nbsp; Also is 'dem0' in the map document?&amp;nbsp; It seems to be that it cannot resolve the naming of the raster.&amp;nbsp; Also can you run the script in segments?&amp;nbsp; Will the IsNull work on it's own?&amp;nbsp; Focal Stats?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'dem0' is in the map document. I have tried with multiple different raster images as well. I tried to run the tool in segments and get the same error 000539. I even tried run the tool as a stand alone python script but get the tool is not licensed error. I posted the syntax I used above? What am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 13:14:10 GMT</pubDate>
    <dc:creator>ChrisBrannin</dc:creator>
    <dc:date>2013-06-18T13:14:10Z</dc:date>
    <item>
      <title>raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535719#M30335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Raster Calculator issues &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried every suggestion I've come across to use Raster Calculator to fill my 'NoData' holes in mosaic-ed Raster DEM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcMap 10 and the equation I've been told to use is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filled_DEM = Con(isnull(["mosaic"]),FocalMean(["mosaic"], rectangle,4,4),["mosaic"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ive tried changing around the capitalization, spacing, and even read somewhere that in ArcMap 10 focal stats. no longer works so I used :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filled_DEM = Con(IsNull(["mosaic"]),FocalStatistics(["mosaic"], NbrRectangle(3,3),"MEAN"),["mosaic"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and STILL nothing. can someone please help me - I've sat for hours trying to figure this out and I feel as though I've run out of options!!! Thanks!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephanie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 03:32:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535719#M30335</guid>
      <dc:creator>StephanieHooper</dc:creator>
      <dc:date>2012-03-22T03:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535720#M30336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Be advised that at 10, with the Python interface, there are different tools to replace the older ones.&amp;nbsp; I recommend trying to break it down in pieces with the specific geoprocessing tool in ArcToolbox and then copy it to the Python Window to see the syntax.&amp;nbsp; Once you have the pieces in place, then assembling them in Raster Calculator will be not problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Con(IsNull('mosaic'), FocalStatistics('mosaic', NbrRectangle(4,4, CELL), 'MEAN', 'DATA'),"mosaic")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also in the Raster Calculator syntax, I do not think you need the "Filled_DEM = " part.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 11:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535720#M30336</guid>
      <dc:creator>JeffreySwain</dc:creator>
      <dc:date>2012-03-22T11:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535721#M30337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;--------------------------------------------------------------------------------&lt;BR /&gt; &lt;BR /&gt;0&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Raster Calculator issues &lt;BR /&gt;I have tried every suggestion I've come across to use Raster Calculator to fill my 'NoData' holes in mosaic-ed Raster DEM.&lt;BR /&gt;&lt;BR /&gt;I'm using ArcMap 10 and the equation I've been told to use is:&lt;BR /&gt;&lt;BR /&gt;Filled_DEM = Con(isnull(["mosaic"]),FocalMean(["mosaic"], rectangle,4,4),["mosaic"])&lt;BR /&gt;&lt;BR /&gt;ive tried changing around the capitalization, spacing, and even read somewhere that in ArcMap 10 focal stats. no longer works so I used :&lt;BR /&gt;&lt;BR /&gt;Filled_DEM = Con(IsNull(["mosaic"]),FocalStatistics(["mosaic"], NbrRectangle(3,3),"MEAN"),["mosaic"])&lt;BR /&gt;&lt;BR /&gt;and STILL nothing. can someone please help me - I've sat for hours trying to figure this out and I feel as though I've run out of options!!! Thanks!!!&lt;BR /&gt;&lt;BR /&gt;Stephanie&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello and greetings!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please take a look at the following Knowledge Base -&lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/21261"&gt; Remove and replace no data values within a raster using statistical information from the surrounding data values.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 13:49:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535721#M30337</guid>
      <dc:creator>TarunJaiswal</dc:creator>
      <dc:date>2012-03-22T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535722#M30338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everytime I run this, I get error 000539!?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 17:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535722#M30338</guid>
      <dc:creator>ChrisBrannin</dc:creator>
      <dc:date>2013-06-13T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535723#M30339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/000539_Error_message_from_Python/00vp00000007000539/"&gt;help for the error&lt;/A&gt;&lt;SPAN&gt; says that it includes the issue that Python has encountered. What's the exact text you're getting with the error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 19:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535723#M30339</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2013-06-14T19:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535724#M30340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/000539_Error_message_from_Python/00vp00000007000539/" rel="nofollow noopener noreferrer" target="_blank"&gt;help for the error&lt;/A&gt; says that it includes the issue that Python has encountered. What's the exact text you're getting with the error?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for responding to this. when I enter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Con(IsNull('dem0'), FocalStatistics('dem0', NbrRectangle(9,9,"CELL"), 'MEAN'), "dem0")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I usually see error number 1: &lt;/SPAN&gt;&lt;SPAN style="color: #4D4D4D; font-family: Courier New;"&gt;&lt;STRONG&gt;exceptions.TypeError: cannot concatenate 'str' and 'int' objects.&lt;BR /&gt;&lt;BR /&gt;But I just ran it again and have this: Error running expression: rcexec()&lt;BR /&gt;&lt;BR /&gt;Thank you for any insight on this.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535724#M30340</guid>
      <dc:creator>ChrisBrannin</dc:creator>
      <dc:date>2021-12-11T23:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535725#M30341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the Results window, what is the exact syntax that is being run?&amp;nbsp; Can you post that?&amp;nbsp; Also is 'dem0' in the map document?&amp;nbsp; It seems to be that it cannot resolve the naming of the raster.&amp;nbsp; Also can you run the script in segments?&amp;nbsp; Will the IsNull work on it's own?&amp;nbsp; Focal Stats?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 20:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535725#M30341</guid>
      <dc:creator>JeffreySwain</dc:creator>
      <dc:date>2013-06-17T20:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!</title>
      <link>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535726#M30342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In the Results window, what is the exact syntax that is being run?&amp;nbsp; Can you post that?&amp;nbsp; Also is 'dem0' in the map document?&amp;nbsp; It seems to be that it cannot resolve the naming of the raster.&amp;nbsp; Also can you run the script in segments?&amp;nbsp; Will the IsNull work on it's own?&amp;nbsp; Focal Stats?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'dem0' is in the map document. I have tried with multiple different raster images as well. I tried to run the tool in segments and get the same error 000539. I even tried run the tool as a stand alone python script but get the tool is not licensed error. I posted the syntax I used above? What am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 13:14:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/raster-calculator-issues/m-p/535726#M30342</guid>
      <dc:creator>ChrisBrannin</dc:creator>
      <dc:date>2013-06-18T13:14:10Z</dc:date>
    </item>
  </channel>
</rss>

