SouthForkResearch / pyGNAT

Geomorphic Network and Analysis Toolbox, redesigned using FOSS python libraries.
MIT License
2 stars 0 forks source link

Find flipped reaches #31

Closed jesselangdon closed 7 years ago

jesselangdon commented 7 years ago

pyGNAT should be able to detect stream reaches within a network with geometry that is incorrectly flowing upstream.

MattReimer commented 7 years ago

This one I think you can use NetworkX for exclusively. Look for any edges that share start and end but have different directions.

jesselangdon commented 7 years ago

Added a function for finding flipped edges. It only finds the 'first' flipped edge (relative to adjacent non-flipped edges), but it's a start!

https://github.com/SouthForkResearch/pyGNAT/commit/8d25dd303767236a44f1bb1f74994707e6649416