Skip to content
Discussion options

You must be logged in to vote

Thank you for providing the geopackage and the upstream area map! I have found the issue. The map uses upstream area rounded to integers. However because of that rounding, some neighbouring cells have identical values for uparea. For example in the image below, cells 1 and 2 have values 20245.

The workflow uses the cell with the largest upstream area as the reservoir outlet inside a mask of the reservoir shape. This means that multiple cells can have the largest upstream area. Hence that keys and values have varying length (which they are not supposed to), as now 2 cells are found instead of 1

It is possible to use the workflow without the upstream area (when uparea_name == None in https…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@teiushi
Comment options

Comment options

You must be logged in to vote
1 reply
@teiushi
Comment options

Answer selected by teiushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants