<?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: Spatial Analyst CreateRandomRaster issue in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476946#M6857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406883_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Very strange. Two computers with 10.6 are behaving this way the others with 10.5.1 are ok.&lt;/P&gt;&lt;P&gt;It must depend on some local settings.&lt;/P&gt;&lt;P&gt;I'll try to investigate the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Dan&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2018 12:31:13 GMT</pubDate>
    <dc:creator>AlbertoAloe</dc:creator>
    <dc:date>2018-05-18T12:31:13Z</dc:date>
    <item>
      <title>Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476942#M6853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;I have a strange issue here when running arcpy.sa.CreateRandomRaster depending on the size of the extent.&lt;/P&gt;&lt;P&gt;I'm running ArcGIS Desktop 10.6 with 64bit geoprocessing in Windows 10&lt;/P&gt;&lt;P&gt;if I run this code in the python window:&lt;/P&gt;&lt;P&gt;ext1 = arcpy.Extent(4054000,2329000,4260000,2597000)&lt;/P&gt;&lt;P&gt;ras1 = arcpy.sa.CreateRandomRaster(1, 100,&amp;nbsp;&lt;SPAN&gt;ext1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;everything works as expected and I get my raster&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when I run:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ext2&amp;nbsp;= arcpy.Extent(4743000,4518000,5240000,5309000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ras2 = arcpy.sa.CreateRandomRaster(1, 100,&amp;nbsp;&lt;SPAN&gt;ext2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I get&amp;nbsp;a popup window saying that the background processing has encountered a serious error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Obviously I get the same issue running the tool from the sa toolbox even in foreground processing mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;A colleague&amp;nbsp;here with ArcGIS 10.5.1&amp;nbsp;with 64bit geoprocessing in Windows 10 does not absolutely have this issue.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any idea ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Alberto&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476942#M6853</guid>
      <dc:creator>AlbertoAloe</dc:creator>
      <dc:date>2018-05-17T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476943#M6854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;turn of background geoprocessing.&amp;nbsp; You don't need it to create a random raster.&lt;/P&gt;&lt;P&gt;If the arcpy extent (&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/classes/extent.htm"&gt;http://pro.arcgis.com/en/pro-app/arcpy/classes/extent.htm&lt;/A&gt; ) worked for your colleague then it can't be and extent issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 17:29:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476943#M6854</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-17T17:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476944#M6855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;I did it already.&amp;nbsp; When I said "&lt;SPAN style="background-color: #ffffff;"&gt;even in foreground processing mode&lt;/SPAN&gt; "&amp;nbsp;I meant&amp;nbsp; I switched background gp off.&lt;/P&gt;&lt;P&gt;I have another pc with 10.6. Same exact behaviour.&lt;/P&gt;&lt;P&gt;Do you have 10.6&amp;nbsp;to make a simple test like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;ext2&amp;nbsp;= arcpy.Extent(4743000,4518000,5240000,5309000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;ras2 = arcpy.sa.CreateRandomRaster(1, 100,&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;ext2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 08:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476944#M6855</guid>
      <dc:creator>AlbertoAloe</dc:creator>
      <dc:date>2018-05-18T08:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476945#M6856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

ext2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Extent&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4743000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4518000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5240000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5309000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
ras2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sa&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateRandomRaster&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ext2&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ras2&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
Out&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'4743000 4518000 5240000 5309000 NaN NaN NaN NaN'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;works for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476945#M6856</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T21:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476946#M6857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406883_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Very strange. Two computers with 10.6 are behaving this way the others with 10.5.1 are ok.&lt;/P&gt;&lt;P&gt;It must depend on some local settings.&lt;/P&gt;&lt;P&gt;I'll try to investigate the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Dan&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:31:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476946#M6857</guid>
      <dc:creator>AlbertoAloe</dc:creator>
      <dc:date>2018-05-18T12:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476947#M6858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but....if I make it a bit smaller...(maxx= 5000000, maxy=4750000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406884_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;it works !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476947#M6858</guid>
      <dc:creator>AlbertoAloe</dc:creator>
      <dc:date>2018-05-18T12:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst CreateRandomRaster issue</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476948#M6859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you lack memory to complete the task&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/spatial-analyst-createrandomraster-issue/m-p/476948#M6859</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-18T17:29:18Z</dc:date>
    </item>
  </channel>
</rss>

