Two-Stage Ditch error

12 views
Skip to first unread message

Amy Towell

unread,
Mar 19, 2025, 10:50:32 PMMar 19
to ACPF Forum
Hi - It looks like errors like this have occurred before but on different tools. (I'm getting it on the Two-Stage Ditch tool currently). Everything else in this HUC-12 worked fine and I've completed several other HUC-12's recently and this tool did not do this. Any ideas? 

Start Time: Wednesday, March 19, 2025 10:19:32 PM35.0 percent of area within 90 meters of stream must consist of slopes less than 5 percentMinimum bank height of 4 feet, or 121.92 cmMaximum bank height of 12 feet, or 365.76 cmDrainage area between 0.5 and 10.0 miles to be suitable for two-stage ditchCalculating bank heightGenerating layer of mean sand content of riparian soils (i.e. within 20 meters of streamGenerating surfaces for the following land covers: Crop, Pasture, Forest, and NonAgGenerating surface of slopes less than 5%Traceback (most recent call last):  File "C:\ProgramData\ACPF\ACPF_V6_Pro_2024_82724\ACPF_V6_Pro_2024_82724\Scripts\TwoStageDitchP5.py", line 728, in <module>  RiparianZonalStatistics(zones, AboveChann, Sand, Crop, Pasture, Forest, NonAg, SlopeLT5)  File "C:\ProgramData\ACPF\ACPF_V6_Pro_2024_82724\ACPF_V6_Pro_2024_82724\Scripts\TwoStageDitchP5.py", line 603, in RiparianZonalStatistics  if drainagearea >= MinDrainage and drainagearea <= MaxDrainage:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '>=' not supported between instances of 'NoneType' and 'float' Failed script f. Two Stage Ditch...Failed to execute (TwoStageDitchRiparianCatchments).Failed at Wednesday, March 19, 2025 10:41:56 PM (Elapsed Time: 22 minutes 24 seconds)
Reply all
Reply to author
Forward
0 new messages