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

extract_profiles function returning wrong connections when neighbouring cells drain to outlet #232

Open
barbedorafael opened this issue Oct 23, 2023 · 0 comments

Comments

@barbedorafael
Copy link

barbedorafael commented Oct 23, 2023

I'm trying to get upstream/downstream relationships of several river stretches spread across several catchments in a large region. However, I noticed a problem when the most downstream cell of two neighboring catchments drain to the same outlet point, which happens quite often: instead of considering both cells as the end of the domain (outlet point), one catchment is considered as a contributor to the other, which is not true, and oftentimes the larger catchment is the contributor to the smaller one, which has no topological sense.

Below I attached an image ilustrating the issue, where the thicker line is wrongly considered to be downstream of the larger catchment.

I couldn't solve that in the code, so right now I'm just manually adjusting the values to fit my needs. I'm reporting this hoping it can be solved in the future. Thanks.

image

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

No branches or pull requests

1 participant