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

Zero length river segments #266

Open
mee067 opened this issue Sep 26, 2024 · 2 comments
Open

Zero length river segments #266

mee067 opened this issue Sep 26, 2024 · 2 comments

Comments

@mee067
Copy link

mee067 commented Sep 26, 2024

Hi,

I delineated subbasins and rivers for a large basin (~ 900 k sqkm). I got more rivers segments than subbasins. Investigating the issue, there are zero length segments when 3 streams meet. It seems it can only allow 2 streams to join so it creates an intermediate one to resolve the issue but this stream has zero length and has no corresponding subbasin.

Is there a parameter to control the max number of streams that can meet at a point?

@dtarb
Copy link
Owner

dtarb commented Sep 26, 2024

The behaviour you are seeing is the way it was designed. The model for link (stream segment connectivity) has one downstream link and two upstream links. Where 3 or more streams join at one place, artificial links are included to maintain the connectivity within this framework. There is not a parameter to adjust for this. In the way you are using this, how is this a problem. It may be possible to work with the streams and subbasins delineated and identify and filter out zero length streams (stream length is a column in the table) and adjust connectivity to meet your needs. However, in the short term at least, this is something you would need to do.

@mee067
Copy link
Author

mee067 commented Sep 26, 2024

the problem is that the link does not have a basin - a tiny one, created with it. I am using the delineated basins and rivers to create a drainage database for a hydrological model and the remainder of the workflow could fail if it finds a river without a corresponding basin.

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

2 participants