<?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 Raster divide error in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-divide-error/m-p/438772#M6177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to calculate a ratio of 48 binary rasters. I have written an AML to perform the analysis but there are a a few grids that the resulting float raster exceeds 32-bit addressing space. It is my understanding that ArcMap/Spatial Analyst can address larger rasters so I calculated the integer rasters (using focalsum) and tried to calculate the ratio in both raster calculator and Single Output Map Algebra (ArcToolbox). Both methods yield a float raster of a single value (0.5). I can subset the data to a smaller raster and get the correct results and I can recreate the problem on the other large datasets. Any ideas on why this is happening and a workaround that does not require subsetting the data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my statement for calculating the ratio (works on smaller rasters):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;float((float([sum1]) / float([sum2]))) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To calculate the rasters used above, starting with a binary raster:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tmp1 = CON(ingrd == 0, 1, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sum1 = FOCALSUM(ingrd, circle, 1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; tmp3 = FOCALSUM(tmp1, circle, 1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sum2 = sum1 + tmp3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 21:14:07 GMT</pubDate>
    <dc:creator>JeffreyEvans</dc:creator>
    <dc:date>2010-05-11T21:14:07Z</dc:date>
    <item>
      <title>Raster divide error</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-divide-error/m-p/438772#M6177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to calculate a ratio of 48 binary rasters. I have written an AML to perform the analysis but there are a a few grids that the resulting float raster exceeds 32-bit addressing space. It is my understanding that ArcMap/Spatial Analyst can address larger rasters so I calculated the integer rasters (using focalsum) and tried to calculate the ratio in both raster calculator and Single Output Map Algebra (ArcToolbox). Both methods yield a float raster of a single value (0.5). I can subset the data to a smaller raster and get the correct results and I can recreate the problem on the other large datasets. Any ideas on why this is happening and a workaround that does not require subsetting the data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my statement for calculating the ratio (works on smaller rasters):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;float((float([sum1]) / float([sum2]))) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To calculate the rasters used above, starting with a binary raster:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tmp1 = CON(ingrd == 0, 1, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sum1 = FOCALSUM(ingrd, circle, 1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; tmp3 = FOCALSUM(tmp1, circle, 1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sum2 = sum1 + tmp3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 21:14:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-divide-error/m-p/438772#M6177</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2010-05-11T21:14:07Z</dc:date>
    </item>
  </channel>
</rss>

