AnsweredAssumed Answered

arcpy with Euclidean-distance tool error

Question asked by sjanderson@nps.gov_nps on Oct 31, 2018
Latest reply on Nov 3, 2018 by Dan_Patterson


I have a small python program that calls EucDistance and runs for 13 runs (I have used different point lyr files so it is not an issue with the 13th item) and then gives the following message:


Traceback (most recent call last):
File "C:\SALR\ptALRcalc\", line 124, in <module>
outEucDistance = EucDistance(out_shp, maxDistance, cellSize)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\", line 989, in EucDistance
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\", line 53, in swapper
result = wrapper(*args, **kwargs)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\", line 983, in Wrapper
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\geoprocessing\", line 510, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
ExecuteError: ERROR 999999: Error executing function.
Failed to write a pixel block. [Possibly out of disk space]
Failed to execute (EucDistance).


The issue is that there is 300GB of space.  I have checked the past solutions - my extents are set, there are no spaces in filenames, the names are under 13 characters, saved each row as a temp shapefile,  I save the temporary raster in a geodatabase.  The problems is it runs great and then crashes.  


Thanks for any advice.