Hi,
I am running simple code:
and it returns an error:
RuntimeError: ERROR 010240: Could not save raster dataset to delta_t_veg_new with output format FGDBR.
When I first save the raster to tif and then trying to upload it to gdb with
I have double-checked paths, I have tried shorter paths for gdb, the workspace is set to my gdb, and delta_t is legit (I can save it to .tif to disk).
Can someone help? It seems like a path issue, are raster tools sensitive to paths on Windows? When running raster calculator in ArcGIS Desktop it is working. When running above code in notebook, it is not....
Solved! Go to Solution.
Hi,
after further investigation, the problem was caused by underscore in the name of save raster. I.e. changing
scratch_save_path = f"delta_t_veg_new" to scratch_save_path = f"deltaTVegNew" solved the issue. 🙂
I think this is a kind of bug, which should be fixed ...
Thank you!
TD
I have further tried to investigate and when I move my .tif file way up in working directory CopyRaster function is working:
Hi,
after further investigation, the problem was caused by underscore in the name of save raster. I.e. changing
scratch_save_path = f"delta_t_veg_new" to scratch_save_path = f"deltaTVegNew" solved the issue. 🙂
I think this is a kind of bug, which should be fixed ...
Thank you!
TD