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

Fixed upstream reach detection for cesm-coupling branch #441

Merged

Conversation

nmizukami
Copy link
Collaborator

@nmizukami nmizukami commented Nov 10, 2023

Use goodBas parameter to detect upstream reaches that has flows.

goodBas is a logical parameter and True means contributory area is greater than and False means that this reach does not have any associated areas in upstream (so 0 contributory areas)

See PR #346 (the same fix done in the serial code)

This fix does not affect the simulation using HDMA and MERIT river network but will fix some error encountered when using NHDPlus river network (for DW, MC and KWE routing method).

…ontributory areas so there is flow coming from the upstreams
@nmizukami nmizukami added cesm-coupling For cesm coupling bugfix standalone For stand-alone run labels Nov 10, 2023
@nmizukami nmizukami merged commit 5b57af3 into ESCOMP:cesm-coupling Nov 10, 2023
@nmizukami nmizukami deleted the cesm-coupling_upstream-fix branch November 10, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix cesm-coupling For cesm coupling standalone For stand-alone run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant