-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove lower limit of zero for sbm.runoff
#373
Conversation
Setting a lower limit of zero for `sbm.runoff` originates from the wflow_sbm Python implementation, when surface runoff was computed with one kinematic wave, to avoid a very slow kinematic wave solution. In the Python code the kinematic wave was split into a river and land component. While for river runoff the lower limit was removed, this was not done for land runoff yet.
Compute mean values of variables runoff, soilevap and snow, and add variables actevap and actinfilt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed conflicting changelog.md
.
LGTM now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on a discussion with @verseve, we decided to tackle this in a slightly different way, in order to be consistent with runoff_river
and net_runoff_river
. In the runoff
variable, we do not subtract the ea_openw_l
variable, and the net_runoff
will become equal to runoff - ae_openw_l
. This would require a bit more changes, to ensure that the net_runoff
will be used throughout the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the code to work with net_runoff
! I have one minor suggestion, all other changes look good to me!
Co-authored-by: JoostBuitink <[email protected]>
Issue addressed
Fixes #372
Explanation
See #372.
Checklist
master