AnsweredAssumed Answered

Spatial Analyst CreateRandomRaster issue

Question asked by albertoaloe on May 17, 2018
Latest reply on May 18, 2018 by Dan_Patterson

Hi everybody.

I have a strange issue here when running arcpy.sa.CreateRandomRaster depending on the size of the extent.

I'm running ArcGIS Desktop 10.6 with 64bit geoprocessing in Windows 10

if I run this code in the python window:

ext1 = arcpy.Extent(4054000,2329000,4260000,2597000)

ras1 = arcpy.sa.CreateRandomRaster(1, 100, ext1)

everything works as expected and I get my raster

 

but....

when I run:

ext2 = arcpy.Extent(4743000,4518000,5240000,5309000)

ras2 = arcpy.sa.CreateRandomRaster(1, 100, ext2)

I get a popup window saying that the background processing has encountered a serious error.

Obviously I get the same issue running the tool from the sa toolbox even in foreground processing mode.

 

A colleague here with ArcGIS 10.5.1 with 64bit geoprocessing in Windows 10 does not absolutely have this issue.

Any idea ?

 

Alberto

 

 

Outcomes