I am running Arc Hydro tools via Python scripts. I have recently run into issues with tools' outputs not being saved. For instance, I run the following tools one after the other in my script:
path1 = "C:\\arcgis\\Basin\\AH_" + huc12 + "\\Burn"
arcpy.DEMReconditioning_archydropy(path1 + "\\layers\\DEM", "blyr", "5", "10", "500", path1 + "\\layers\\AgreeDEM")
arcpy.FillSinks_archydropy(path1 + "\\layers\\AgreeDEM", path1 + "\\layers\\fil", "#", "#", "#")
I am getting this error once FillSinks starts to run:
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input DEM Raster: Dataset C:\arcgis\Basin\AH_071200020101\Burn\layers\AgreeDEM does not exist or is not supported
Failed to execute (FillSinks).
Lo and behold, the error is correct. The AgreeDEM does not save to the specified location.
Does anyone have any insights into this and/or have any ideas for fixing this issue?
Appreciative of your time,
Jacob M
Indiana DNR Water