Stream Ordering Utility
To create standalone SML files, unzip st_order.zip and compile it at an ARC or DOS
prompt:
compsml st_order n
Routine "st_order" may be executed in ARCPLOT/W to calculate the stream
order of an arc coverage.
Usage: &r ST_ORDER [cover] [order_item] {SHREVE/STRAHLER}
By default, Shreve's method is used:
Before:
After:
In order for the routine to work, certain conditions must be met:
- The coverage has clean arc and node topology (no overlaps)
- Every arc's to_node is downstream from its from_node
- The only dangling from_nodes are on order 1 streams
- The only dangling to_node is on the arc furthest downstream
- No braids or splits exist
- The arc furthest downstream has its order set to -1
- All other arcs have their order set to some other value
If a steam has a split or braid, the routine won't blow up, but it will
most likely lead to undesirable results: