WASCOB tool error

Skip to first unread message

Peter Vincent

Sep 6, 2022, 1:37:36 PM9/6/22
to ACPF Forum
Hey All,

WASCOB tool in Pro 2.9 won't work, using version 4 of the toolbox, any one experience this error? Thoughts? 

Anyone experience this error? 
Traceback (most recent call last): File "C:\ACPF\acpf_toolbox\ACPF_V4_2022\ACPF_V4Pro_04012022\Scripts\WASCOBSP4.py", line 437, in <module> Dir_Stats = DirectionStats(flownet) File "C:\ACPF\acpf_toolbox\ACPF_V4_2022\ACPF_V4Pro_04012022\Scripts\WASCOBSP4.py", line 111, in DirectionStats Dir_Stats = arcpy.DirectionalMean_stats(flownet, "Dir_Stats", "", "LINKNO") File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcPy\arcpy\stats.py", line 1730, in DirectionalMean raise e File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcPy\arcpy\stats.py", line 1727, in DirectionalMean retval = convertArcObjectToPythonObject(gp.DirectionalMean_stats(*gp_fixargs((Input_Feature_Class, Output_Feature_Class, Orientation_Only, Case_Field), True))) File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda> return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: Traceback (most recent call last): File "<string>", line 2359, in execute File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcToolbox\Scripts\DirectionalMean.py", line 697, in createOutput spatRef, changed =self.checkDomainProjection() File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcToolbox\Scripts\DirectionalMean.py", line 670, in checkDomainProjection nPoints, self.initialDomain) File "C:\Users\vincentp\AppData\Local\Programs\ArcGIS\Pro\Resources\ArcToolbox\Scripts\SSUtilities.py", line 1698, in extentDomain3D setZDomainProjection(min(minValues[2] - extend, zMin), TypeError: '>' not supported between instances of 'float' and 'NoneType' Failed to execute (DirectionalMean).

Sam Gredig

May 24, 2023, 8:51:12 AM5/24/23
to ACPF Forum, Peter Vincent
Also experiencing this issue, has this been resolved?

David James

May 26, 2023, 6:19:34 PM5/26/23
to Sam Gredig, ACPF Forum, Peter Vincent
we believe that that issue may be only at ArcGIS Pro 2.9.3. Is that the version you are working on. Could you move to 2.9.5 easily. 

Dave 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/79dd4d4d-015a-47fd-b4cf-be031e3c9a2en%40umn.edu.

David James

May 28, 2023, 1:34:10 PM5/28/23
to Sam Gredig, ACPF Forum, Peter Vincent
Dan I found this in our archives...

We isolated an error with the WASCOB tool in Pro 2.9.3. It's gotta be a bug. Not sure if it happens in other versions of 2.9 (both Ethan and Pete confirmed in 2.9.3), but I have Pro 3.0 and the tool runs fine. 

In Pro 2.9.3, the WASCOB tool will fail unless line 408 (shown below) is commented out (which makes no sense but I'm not surprised):
arcpy.env.outputCoordinateSystem = DEM

Dave James
Reply all
Reply to author
Message has been deleted
0 new messages