<?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: Combine Rasters using Con Expression - Error in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404981#M5688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, if you're using ArcGIS 10 you might want to look at&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/54770-Averaging-raster-grids-with-missing-values?highlight=cellstatistics"&gt;http://forums.arcgis.com/threads/54770-Averaging-raster-grids-with-missing-values?highlight=cellstatistics&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 14:29:36 GMT</pubDate>
    <dc:creator>SteveLynch</dc:creator>
    <dc:date>2012-06-13T14:29:36Z</dc:date>
    <item>
      <title>Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404977#M5684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to combine many rasters together to create 1 raster with all the input raster values added together. An example of the expression is below...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Con(IsNull("murle_ras_7"),0,"murle_ras_7") + Con(IsNull("murle_ras_6"),0,"murle_ras_6") + Con(IsNull("murle_ras_5"),0,"murle_ras_5") + Con(IsNull("murle_ras_4"),0,"murle_ras_4") + Con(IsNull("murle_ras_3"),0,"murle_ras_3") + Con(IsNull("murle_ras_27"),0,"murle_ras_27") + Con(IsNull("murle_ras_26"),0,"murle_ras_26") + Con(IsNull("murle_ras_25"),0,"murle_ras_25") + Con(IsNull("murle_ras_24"),0,"murle_ras_24") + Con(IsNull("murle_ras_23"),0,"murle_ras_23") + Con(IsNull("murle_ras_21"),0,"murle_ras_21") + Con(IsNull("murle_ras_20"),0,"murle_ras_20") + Con(IsNull("murle_ras_2"),0,"murle_ras_2") + Con(IsNull("murle_ras_19"),0,"murle_ras_19") + Con(IsNull("murle_ras_18"),0,"murle_ras_18") + Con(IsNull("murle_ras_17"),0,"murle_ras_17") + Con(IsNull("murle_ras_16"),0,"murle_ras_16") + Con(IsNull("murle_ras_1"),0,"murle_ras_1")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also set the environments with a full extent and a specified cell size. The 000539 Error keeps appearing telling me that it "Could not save raster dataset to... with output format GRID. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how I can get around this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404977#M5684</guid>
      <dc:creator>JannaCaspersen</dc:creator>
      <dc:date>2012-06-13T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404978#M5685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the error message indicates that you might be concatenating a string with a number&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00vp00000007000539.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00vp00000007000539.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404978#M5685</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-06-13T13:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404979#M5686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the error message indicates that you might be concatenating a string with a number&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00vp00000007000539.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00vp00000007000539.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at this page and I am not savy with python so I'm not exactly sure what you mean or how you are suggesting to fix it. Are you saying I need to take the numbers out of my file names?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404979#M5686</guid>
      <dc:creator>JannaCaspersen</dc:creator>
      <dc:date>2012-06-13T13:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404980#M5687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcMap are you using?&amp;nbsp; If you break it down to just running the top selection will it work?&amp;nbsp; If you are using 10, you may have to reference the raster differently. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outRas = Raster("inras1") + Raster("inras2")&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the help documentation here about &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00p600000003000000.htm"&gt;accessing rasters&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:28:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404980#M5687</guid>
      <dc:creator>JeffreySwain</dc:creator>
      <dc:date>2012-06-13T14:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404981#M5688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, if you're using ArcGIS 10 you might want to look at&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/54770-Averaging-raster-grids-with-missing-values?highlight=cellstatistics"&gt;http://forums.arcgis.com/threads/54770-Averaging-raster-grids-with-missing-values?highlight=cellstatistics&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404981#M5688</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2012-06-13T14:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404982#M5689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What version of ArcMap are you using?&amp;nbsp; If you break it down to just running the top selection will it work?&amp;nbsp; If you are using 10, you may have to reference the raster differently. &lt;BR /&gt;&lt;BR /&gt;outRas = Raster("inras1") + Raster("inras2")&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;From the help documentation here about &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00p600000003000000.htm"&gt;accessing rasters&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 10 and it does work if I run them in smaller groups of 2-5 but when I try to do them all at once it errors. I can go through and do it little by little but I will try the referencing method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404982#M5689</guid>
      <dc:creator>JannaCaspersen</dc:creator>
      <dc:date>2012-06-13T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404983#M5690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you look at the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z0000007q000000.htm"&gt;Cell Statistics&lt;/A&gt;&lt;SPAN&gt; tool Steve recommended? It does &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;exactly&lt;/SPAN&gt;&lt;SPAN&gt; what you are attempting to do with that long Con(IsNull()) code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;outCellStats = CellStatistics(["murle_ras_7","murle_ras_6","murle_ras_5","murle_ras_4",...,"murle_ras_N"], "SUM", "DATA")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 23:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404983#M5690</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2012-06-26T23:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Rasters using Con Expression - Error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404984#M5691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check the output-name and location. The name has not to be to long for GRIDs (&amp;gt;13 characters). You may have a problem, if there are too many subfolders. Try something like "C:/outname.img".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 11:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-rasters-using-con-expression-error/m-p/404984#M5691</guid>
      <dc:creator>FabianBlau</dc:creator>
      <dc:date>2012-06-28T11:27:06Z</dc:date>
    </item>
  </channel>
</rss>

