Hi, I am trying to run the "cost distance tool" against my cost raster and am facing this error. Here is a log
Cost Distance
=====================
Parameters
Input raster or feature source data najran_origin_PointToRaster
Input cost raster weighted_cost_rasterV2
Output distance raster D:\Personal\Project\Folder\Analysis\Default.gdb\cost_distance_najran
Maximum distance
Output backlink raster
Multiplier to apply to costs
Start cost
Accumulative cost resistance rate
Capacity
Travel direction
=====================
Messages
Start Time: Wednesday, October 5, 2022 1:00:23 AM
Temporary data will be created in C:\Users\ADMIN\AppData\Local\Temp\ArcGISProTemp2068\s48c8f4b1_25bc_48cf_a45e_d66ece8b296f
WARNING 010648: 202,886 MB of temporary storage is estimated to be needed. 111,350 MB of storage is currently available.
Distributing operation across 10 parallel instances.
2022-10-05T01:01:19.247: Initialization Phase ...
2022-10-05T01:08:23.626: Iteration Phase ...
ERROR 010658: Failure in distributed raster analytics operation.
Canceled function
Canceled function
Failed to execute (CostDistance).
Failed at Wednesday, October 5, 2022 2:28:48 AM (Elapsed Time: 1 hours 28 minutes 25 seconds)
Sometimes this tool works against the same raster data, but more often than not it doesn't work!
Here's what I tried
1. I tried to use the Distance accumulation tool (it said better performance but faced the same warning)
2. Cleared my TEMP folder (I have over 19GB of storage free but get this low storage warning)
3. Changed TEMP and TMP folder in Windows system environments variables
I checked and checked there is no documentation of this error. What could be the problem?
Solved! Go to Solution.
The issue for me appeared to be a difference in Python/ArcPy versions between Enterprise 10.9.1 and ArcGIS Pro 2.9.4. The resolution was to roll back ArcGIS Pro to core version 2.8 and publish to Enterprise 10.9.1 from it instead.
Hi, folks.
I'm quite sure this error is related to using parallel processing. Setting the Parallel Processing Factor to 0% (yeap! zero) runs without error!
OS: Windows 10 Build 19045
Dell Precision M6700 - 32GB RAM - i7-3940XM - 2 SSD hard drives
ArcGIS Pro 3.02
Cheers,
Carlos Ribeiro
Fixed: I recently encountered the same problem, but the problem was the failure to clip the raster to boundary extent before carrying out raster analytics on it. Clip your raster first to the boundary extent and then use the new clipped_raster
Hello to all that are Interested,
I work with Esri Australia technical support and just wanted to provide a workaround that we found whilst working on this issue.
In this instance the issue was related to the format of the raster:
TIFF with unsigned integers, 32-bit. The range of values for this raster started with zero.
We found two workarounds:
John
Thanks, John.
This solution worked for us.