Skip to content
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

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

mwort
Copy link

@mwort mwort commented Mar 13, 2024

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 the rivgraph/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 the networks.RiverNetwork class. That made some defaults and bypassing of the river mask processing necessary.

Hope this helps. Happy to discuss of course.

Michel Wortmann and others added 15 commits August 3, 2022 16:12
… inlets to only to randomly selected outlets.
…river directionality to standard rivgraph.
…essing successively and others. Used for GRITv0.2.
…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.
@elbeejay
Copy link
Member

Exciting @mwort! Looking forward to seeing the individual features as you get a chance to split them out into more bite-sized PRs.

@jonschwenk
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants