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

fixes #544: split_flows.py: tiny split reaches caused by mismat… #545

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

hohe12ly
Copy link

the new algorithm uses GeoPandas overlay with identity method to create splits. then these splits are ordered by lake IDs. a subsequence that goes in and out of a lake multiple times is modified to have at most three parts: the one going into the late, the one in the lake, and the one out of the lake. the new algorithm returns such splits as a GeoDataFrame for the next step 1.5km length-based splitting. That length-based splitting is unchanged.

Also, added one step after HUC8 overlay to remove empty geometries.

@BradfordBates-NOAA
Copy link
Member

BradfordBates-NOAA commented Mar 2, 2022

@hohe12ly Could you please request that this PR be merged into the dev-fim3 branch?

@BradfordBates-NOAA BradfordBates-NOAA added the enhancement New feature or request label Mar 2, 2022
@BradfordBates-NOAA
Copy link
Member

@BrianAvant-NOAA Please check this out if you are interested

@frsalas-noaa
Copy link
Contributor

We should also note this for FIM v4.X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FIM3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants