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

Fixes to the overland routing off configuration. #306

Merged
merged 2 commits into from
Jun 3, 2019

Conversation

aubreyd
Copy link
Collaborator

@aubreyd aubreyd commented Jun 3, 2019

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).

Aubrey Dugger added 2 commits June 2, 2019 13:28
…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.
@rcabell rcabell changed the base branch from v5.1.0 to v5.1.1 June 3, 2019 17:35
@rcabell rcabell requested a review from jmccreight June 3, 2019 18:44
@aubreyd
Copy link
Collaborator Author

aubreyd commented Jun 3, 2019

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
Copy link
Collaborator

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?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's probably sumthing hiding in gw_sum_real

Copy link
Collaborator Author

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.

Copy link
Collaborator

@jmccreight jmccreight left a 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.

@rcabell rcabell merged commit 8813543 into NCAR:v5.1.1 Jun 3, 2019
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

Successfully merging this pull request may close these issues.

3 participants