-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applying RG to entire river networks and other changes from GRIT #99
base: master
Are you sure you want to change the base?
Conversation
…aph to multiple network components.
… inlets to only to randomly selected outlets.
…river directionality to standard rivgraph.
…essing successively and others. Used for GRITv0.2.
…ing links and better links finding.
…ise uncertain links will be reset.
…s with inlets and outlets can be resolved topologically with fix_cycle_inlet_outlet.
…inks, finds path out of sink and then assigns directions. Also set all remaining (previously randomly assigned links) via shortest path to outlet.
Exciting @mwort! Looking forward to seeing the individual features as you get a chance to split them out into more bite-sized PRs. |
@mwort Congrats on getting to a stable point! I am wondering if it would make sense to set up another meeting for you to catch us up on your improvements. I am pretty swamped until May, but if that sounds good to you, shoot me/us an email and we'll arrange a time. Looks like some cool functionality and it would be great if we could merge as much as possible. I'm hoping @jsta and @elbeejay will be able to help with this as well. Not sure what you're thinking w.r.t. publication, but we'd be open to something collaborative like RG 2.0. Just something to think about. |
Hi @jonschwenk ,
I'm finally sharing the code changes from my Global River Topology (GRIT) work, after presenting this to you guys in May 2023. This PR is not actually meant to be merged as is, but is mainly intended to show you some of the changes I needed to make for GRIT. It will probably make most sense to create separate branches and PRs for more granular changes, e.g. for the
directionality.py:set_width_continuity
algorithm or therivgraph/networks
subpackage (which likely violates many of the design decisions taken for the rest of the repo and duplicates some code from the other modules). Note that all of the raster processing for GRIT was done in GRASS outside of RG which the input parsed to thenetworks.RiverNetwork
class. That made some defaults and bypassing of the river mask processing necessary.Hope this helps. Happy to discuss of course.