I'm getting use FillSinks by ArcHydroTools but some problems are happen.
I use this code:
import arcpy import ArcHydroTools from arcpy import env ws = env.workspace = r"C:\Users\fractal\Desktop\python_teste\projecaoMiriab2.tif" output = "C:\Users\fractal\Documents\ArcGIS\Layers" ArcHydroTools.FillSinks(ws, output)
and this error appears:
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000840: The value is not a Raster Layer. Failed to execute (FillSinks).
I already tried to change my raster to format .lyr but it doesn't work.
What should I do?