-
Notifications
You must be signed in to change notification settings - Fork 139
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
Fixes to the overland routing off configuration. #306
Conversation
…l need to add landRunoff output var for post-proc WB closure. Answer changes when ovrt is off.
…is off to pass-through always. Should add separate accounting eventually, but for now tracked with GW outflow. Answer changes when ovrt is off and non-UDMP.
CI testing results are as expected - answer changes in hydro outputs and restart in NWM long-range configuration only (only tested configuration where OVRTSWCRT=0). |
call gw_sum_real(ct_bas8,numbasns,gnumbasns,basnsInd) | ||
#endif | ||
sum_perc = sum_perc8 | ||
sum_perc_surf = sum_perc8_surf |
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.
why do it in double precision and then throw it away?
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.
there's probably sum
thing hiding in gw_sum_real
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.
No idea - I just duplicated what was already in the code. Pre-dates me.
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.
Far as I can tell, this looks fine.
Answer changes only when overland routing is off (affects UDMP and non-UDMP). Moved surface runoff that was mapped through GW buckets in non-UDMP configs to behave as pass-through only (as opposed to bucket attenuation; ugdrunoff is still through bucket). Both are combined for gwout. Confirmed ncores and perfect restarts. Needs at least one new output var to fully track all WB components (TBD).