-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surface Area to Planar Area Arc-Chord Correction Crashes #136
Comments
@ailich thanks for the report, I haven't seen this issue before, but typically something is going wrong with writing the data in cases like this. Could you report what the earlier message "Set scratch workspace to" line reads? Could you confirm how much free space you have on the disk where the scratch workspace is located? Another possibility is that this operation is consuming too much memory, I'll see if I can reproduce locally with a similarly large raster. |
I reran it using a tif and set it to my external hard drive which has 500GB free so there should be enough space there. I still get the same error however. Executing: surfacetoplanar bathy.tif "E:\Research\R Projects\test\sapa.tif" true # Deleting intermediate data... |
It ran using a .asc file instead of a .tif or a geodatabase file and although it took much longer (51 minutes), it did run. Calculating BPI also seems not to work for tifs but works for .asc files. |
Surface Area To Planar Area Tool crashes once it has to calculate triangle area. This is on a 2m resolution bathymetry grid with 4908 columns and 13,948 rows. The calculation works on a resampled version of this data at 10 meter resolution.
Calculating Triangle Edge 16 of 16...
Calculating Triangle Area 1 of 8...
RuntimeError: ERROR 999998: Unexpected Error.
Executing: Shift bathy_smaller C:\Users\socce\Documents\ArcGIS\Default.gdb\shift_8 -2 2 #
Start Time: Tue Mar 27 16:09:06 2018
Succeeded at Tue Mar 27 16:09:27 2018 (Elapsed Time: 20.61 seconds)
Python Error: File "C:\Users\socce\AppData\Local\ESRI\Desktop10.5\AssemblyCache{2DAC2AE8-B5F3-4263-9F5D-AAED6B47316B}\toolbox\scripts\surface_area_to_planar_area.py", line 172, in main
area.save(area_out)
Deleting intermediate data...
Completed script surfacetoplanar...
Failed to execute (surfacetoplanar).
Failed at Tue Mar 27 16:14:39 2018 (Elapsed Time: 8 minutes 8 seconds)
The text was updated successfully, but these errors were encountered: