Open jesselangdon opened 7 years ago
Is this as easy as finding the headwaters and assigning everything downstream an order?
Generally, yes. The arcpy script is slow due to creating and selecting multiple layers per iteration (actually, this is quite fast at the start/headwaters, but slow when it works down the network). Things like multi-threaded channels (cycles) or disconnections need to be overcome as well.
I think we can get there quickly by:
networkx
network (so we can traverse it backwards)
Calculate Strahler stream order for a network (i.e. headwaters = 1)
Required for:
Refer to Arcpy GNAT Calculate Stream Order tool.