Skip to content
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

ERROR 000732: Input Raster Dataset #19 #252

Open
dong-boo opened this issue Apr 1, 2023 · 1 comment
Open

ERROR 000732: Input Raster Dataset #19 #252

dong-boo opened this issue Apr 1, 2023 · 1 comment

Comments

@dong-boo
Copy link

dong-boo commented Apr 1, 2023

I download and installed TauDEM for examining the capability of the tool to edit the DEM. I extracted and imported the elevation to ArcMap and ran the 'pit remove' tool. When it finished running it shows error message;

Process started:
Executing: PitRemove logan.tif # # 8 C:\Users\HUAWEI\Downloads\logan\loganfel.tif
Start Time: Sun Apr 02 00:00:12 2023
Running script PitRemove...

Input Elevation file: C:\Users\HUAWEI\Downloads\logan\logan.tif
Considering4way:
Number of Processes: 8
Output Pit Removed Elevation file: C:\Users\HUAWEI\Downloads\logan\loganfel.tif

Command Line: mpiexec -n 8 pitremove -z "C:\Users\HUAWEI\Downloads\logan\logan.tif" -fel "C:\Users\HUAWEI\Downloads\logan\loganfel.tif"

Calculate Statistics

Traceback (most recent call last):
File "C:\Program Files\TauDEM\TauDEM5Arc\PitRemove.py", line 61, in
arcpy.CalculateStatistics_management(outFile)
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 13271, in CalculateStatistics
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Raster Dataset: Dataset C:\Users\HUAWEI\Downloads\logan\loganfel.tif does not exist or is not supported
Failed to execute (CalculateStatistics).

Failed to execute (PitRemove).
image
I could not process further. Any help would be greatly appreciated.

Regards,
Dongdong

@dtarb
Copy link
Owner

dtarb commented Apr 9, 2023

@dong-boo it looks like in the screen shot above your PitRemove function worked on the command line, in that time use is reported. Check of you have the output file loganfel.tif. I am not able to see in the ArcGIS error messages you have presented why it may not have worked in ArcGIS.

In the screen shot above for D8FlowDir you need to specify the name of the input file after -fel, i.e.
mpiexec -n 8 D8Flowdir -p loganp.tif -sd8 logansd8.tif -fel loganfel.tif
The error you received was because loganfel.tif was not given as input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants