Stream Reach and Catchments tool not working

53 views
Skip to first unread message

Valerie Gibertini

unread,
Jan 3, 2023, 11:34:44 AM1/3/23
to ACPF Forum
Hey, I keep getting this error every time I try to run the Stream Reach and Catchments tool. Does anyone know how to fix this? Thanks. 

Traceback (most recent call last):   File "Z:\Schilling_Streeter\INRC_Ponds_2021\GIS\ACPF\ACPF_V3Pro_09142021\Scripts\StreamReachAndCatchments.py", line 250, in <module>     StreamNetworkAndCatchments(reach, D8FlowDir, DEMFill)   File "Z:\Schilling_Streeter\INRC_Ponds_2021\GIS\ACPF\ACPF_V3Pro_09142021\Scripts\StreamReachAndCatchments.py", line 152, in StreamNetworkAndCatchments     TDWatersheds = arcpy.CalculateStatistics_management(TDProcDir + "\\TDWatersheds.tif")   File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 21381, in CalculateStatistics     raise e   File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 21378, in CalculateStatistics     retval = convertArcObjectToPythonObject(gp.CalculateStatistics_management(*gp_fixargs((in_raster_dataset, x_skip_factor, y_skip_factor, ignore_values, skip_existing, area_of_interest), True)))   File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda>     return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Raster Dataset: Dataset Z:\Schilling_Streeter\INRC_Ponds_2021\GIS\ACPF\ACPF_V3Pro_09142021\Scripts\TDProcDir\TDWatersheds.tif does not exist or is not supported Failed to execute (CalculateStatistics). Failed script c.  Stream Reach and Catchments...Failed to execute (StreamReachAndCatchments).

Valerie 

Abby M

unread,
Feb 23, 2024, 9:37:44 AMFeb 23
to ACPF Forum, Valerie Gibertini
HI Valerie,

I keep getting the same error but with the Flow network definition - peuker douglas tool. Did you solve yours?

Traceback (most recent call last):
  File "C:\ACPF_V5_Pro_04042023\ACPF_V5_Pro_04042023\Scripts\PeukerDouglasFlowNetworkP5.py", line 296, in <module>
    PeukerDouglasFlowNetwork(TDProcDir, D8FlowDir)
  File "C:\ACPF_V5_Pro_04042023\ACPF_V5_Pro_04042023\Scripts\PeukerDouglasFlowNetworkP5.py", line 150, in PeukerDouglasFlowNetwork
    AccumulatedStreamSourceGrid = arcpy.CalculateStatistics_management(TDProcDir + "\\AccumulatedStreamSourceGrid.tif")
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 19631, in CalculateStatistics
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 19628, in CalculateStatistics

    retval = convertArcObjectToPythonObject(gp.CalculateStatistics_management(*gp_fixargs((in_raster_dataset, x_skip_factor, y_skip_factor, ignore_values, skip_existing, area_of_interest), True)))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 520, in <lambda>

    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
 ERROR 000732: Input Raster Dataset: Dataset C:\ACPF_V5_Pro_04042023\ACPF_V5_Pro_04042023\Scripts\TDProcDir\AccumulatedStreamSourceGrid.tif does not exist or is not supported
Failed to execute (CalculateStatistics).

Thank you!

James Martin

unread,
Feb 23, 2024, 10:19:22 AMFeb 23
to Abby M, ACPF Forum, Valerie Gibertini
I have the same error! 

 Reinstalling TauDEM fixed me for one HUC12 and then the same error came back when I started a new HuC12. I have to submit a ticket with IT for reinstalling so it’s not a sustainable solution for me. Ideas out there? Running V5, Pro3.2.1, Win10

James

--
The ACPF Forum is an online group for discussing technical issues related to using the ACPF tools. Anyone can view the discussions at https://groups.google.com/a/umn.edu/d/forum/acpf-group. Only members can participate in discussions. Join the group by sending an email to acpf-group...@umn.edu
---
You received this message because you are subscribed to the Google Groups "ACPF Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acpf-group+...@umn.edu.
To view this discussion on the web visit https://groups.google.com/a/umn.edu/d/msgid/acpf-group/03c68991-d378-4d99-9451-a29785c6e201n%40umn.edu.
Reply all
Reply to author
Forward
0 new messages