Peuker Douglas Error

29 views
Skip to first unread message

Alicia O'Hare

unread,
Aug 20, 2020, 2:24:57 PM8/20/20
to ACPF Forum
I'm getting this error when I run Peuker Douglas. I've already successfully run area threshold but I'm curious about the differences. 

Executing: PeukerDouglasFlowNetworDefinition NewDEM070102040605 "C:\GIS\Twelve Mile\Twelve Mile Data\acpf070102040605.gdb\D8FlowDir070102040605" "C:\GIS\Twelve Mile\Twelve Mile Data\acpf070102040605.gdb\bnd070102040605" # # "C:\GIS\Twelve Mile\Twelve Mile Data\acpf070102040605.gdb\PDFlowNet070102040605"
Start Time: Thu Aug 20 13:15:17 2020
Running script PeukerDouglasFlowNetworDefinition...
Copying ArcGIS terrain derivatives to a format compatible with TauDEM
Finding Pour Points
Creating Peuker Douglas Flow Network
Constant stream drop threshold of 10323 grid cells
Failed script PeukerDouglasFlowNetworDefinition...

Traceback (most recent call last):
  File "C:\GIS\ACPF\ACPF_V3_distribution_06092020\Scripts\PeukerDouglasFlowNetwork.py", line 268, in <module>
    PeukerDouglasFlowNetwork(TDProcDir, D8FlowDir)
  File "C:\GIS\ACPF\ACPF_V3_distribution_06092020\Scripts\PeukerDouglasFlowNetwork.py", line 146, in PeukerDouglasFlowNetwork
    FlowNetRas = Con(PDStreamNetRas, 1, "", "VALUE = 1")
  File "c:\program files (x86)\arcgis\desktop10.7\arcpy\arcpy\sa\Functions.py", line 269, in Con
    where_clause)
  File "c:\program files (x86)\arcgis\desktop10.7\arcpy\arcpy\sa\Utils.py", line 53, in swapper
    result = wrapper(*args, **kwargs)
  File "c:\program files (x86)\arcgis\desktop10.7\arcpy\arcpy\sa\Functions.py", line 263, in Wrapper
    where_clause)
  File "c:\program files (x86)\arcgis\desktop10.7\arcpy\arcpy\geoprocessing\_base.py", line 510, in <lambda>
    return lambda *args: val(*gp_fixargs(args, True))
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000860: Input true raster or constant value: is not the type of Composite Geodataset, or does not exist.
Failed to execute (Con).


Failed to execute (PeukerDouglasFlowNetworDefinition).
Failed at Thu Aug 20 13:17:02 2020 (Elapsed Time: 1 minutes 45 seconds)
Reply all
Reply to author
Forward
0 new messages