<?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 2.8 GB Tif-Raster Analysis Errors all the time in in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/2-8-gb-tif-raster-analysis-errors-all-the-time-in/m-p/11041#M200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do a few Spatial Analyst tasks using annual composites of night lights around the globe.&amp;nbsp; These are ~2.8GB tif files.&amp;nbsp; One such task that seems imposible thus far is Extracting a Sample.&amp;nbsp; My Python Script is a&amp;nbsp; follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.workspace = r'C:\Users\Admin.LoveLeePC\Documents\ArcGIS\Default.gdb'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; Sample('ChngTmsLSPop1.tif','sampleLocation',r'C:\Users\Admin.LoveLeePC\Documents\ArcGIS\FinalNoLightStats\sample',"NEAREST")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This particular run gave the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 010070: Raster read error. MSEEK: No error ERROR 010067: Error in executing grid expression. Failed to execute (Sample). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error came after the program maxed out one of the cores on my core 2 quad CPU for about 5 hours...&amp;nbsp; The second I clicked the GUI of the program, it through this error.&amp;nbsp; It seems adding any threads just shuts down the app in a second...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know Arc is single threaded, but is there some way (maybe multiprocessing controls in Python) to take advantage of the rest of my CPU?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I crazy to think that the size of this raster is the issue?&amp;nbsp; Is this how the Sample tool is meant to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even when I sample much smaller areas, my computer crashes pretty quick.&amp;nbsp; I have similar experiences with map algebra, and especially ZonalStatisticsAsTable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I am hesitant to believe what I am saying since I do have a quad core with 8 GB of DR3 RAM, a very nice media-PC graphics card, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please explain this to me???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ephy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 21:54:06 GMT</pubDate>
    <dc:creator>EphraimLove</dc:creator>
    <dc:date>2012-07-12T21:54:06Z</dc:date>
    <item>
      <title>2.8 GB Tif-Raster Analysis Errors all the time in</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/2-8-gb-tif-raster-analysis-errors-all-the-time-in/m-p/11041#M200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do a few Spatial Analyst tasks using annual composites of night lights around the globe.&amp;nbsp; These are ~2.8GB tif files.&amp;nbsp; One such task that seems imposible thus far is Extracting a Sample.&amp;nbsp; My Python Script is a&amp;nbsp; follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.workspace = r'C:\Users\Admin.LoveLeePC\Documents\ArcGIS\Default.gdb'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; Sample('ChngTmsLSPop1.tif','sampleLocation',r'C:\Users\Admin.LoveLeePC\Documents\ArcGIS\FinalNoLightStats\sample',"NEAREST")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This particular run gave the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 010070: Raster read error. MSEEK: No error ERROR 010067: Error in executing grid expression. Failed to execute (Sample). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error came after the program maxed out one of the cores on my core 2 quad CPU for about 5 hours...&amp;nbsp; The second I clicked the GUI of the program, it through this error.&amp;nbsp; It seems adding any threads just shuts down the app in a second...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know Arc is single threaded, but is there some way (maybe multiprocessing controls in Python) to take advantage of the rest of my CPU?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I crazy to think that the size of this raster is the issue?&amp;nbsp; Is this how the Sample tool is meant to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even when I sample much smaller areas, my computer crashes pretty quick.&amp;nbsp; I have similar experiences with map algebra, and especially ZonalStatisticsAsTable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I am hesitant to believe what I am saying since I do have a quad core with 8 GB of DR3 RAM, a very nice media-PC graphics card, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please explain this to me???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ephy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 21:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/2-8-gb-tif-raster-analysis-errors-all-the-time-in/m-p/11041#M200</guid>
      <dc:creator>EphraimLove</dc:creator>
      <dc:date>2012-07-12T21:54:06Z</dc:date>
    </item>
  </channel>
</rss>

