DOI-USGS / hydroloom

hydrologic geospatial fabric creation tools. See official repository here: https://code.usgs.gov/water/hydroloom
https://doi-usgs.github.io/hydroloom/
Creative Commons Zero v1.0 Universal
25 stars 2 forks source link

DFS with edge weights to emulate UM, DM, UT, DD navigation. #22

Closed dblodgett-usgs closed 5 months ago

dblodgett-usgs commented 10 months ago

In order to emuate upmain / downmain / uptrib / downdiv navigation we need a crude implementation of network traversal that follows a least-cost path at every node.

Using nhdplus attributes, we need to follow the lowest divergence value at every downstream junction for down main and the lowest stream level in the upstream direction for upmain navigation. The 3DHP flownetwork simplifies this with the upmain / downmain logical values.