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).