-
Notifications
You must be signed in to change notification settings - Fork 705
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
hydro: reservoir, reach lakes, style guide cleanup #2146
base: develop
Are you sure you want to change the base?
hydro: reservoir, reach lakes, style guide cleanup #2146
Conversation
- Add (integer) to &hydro_nlist: 0 [lakes off], 1 [level pool], or 2 [passthrough], or 3 [reservoir DA] - turning lakes off (lake_option=0) will disable lakes even if route_lake_f is supplied, or outlake is turned on. - Reservoir DA will not be used unless lake_option=3, even if all other required namelist options are present - Reset lake_opt from 3 to 1 after setting DA flag * Reservoir options have been moved from &hydro_nlist to &reservoir_nlist - This will make it easier to isolate / compose namelist files - If lake_option is not equal to 3, &reservoir_nlist won't be read, meaning it can be completely removed for applications that don't need it - Use reasonable lake_option default when not specified - Update testing namelists * Forcing variables names that have been added to namelist.hrldas * Style guide cleanup - Indentation and MPI capitalization - Remove unneeded return statements - Remove file header - Tabs to spaces * Reach Lakes Update * NetCDF Update: move to modules and nf90 subroutines
The regression test results:
|
Moving from draft to read-for-review. @rcabell I think as the other member of the Tested with coupled WRF|WRF-Hydro Front Range testcase
Attempted to build with |
Added the single commit from WRF-Hydro PR#803 since it was a bugfix to the gridded lake option. Reran and compared output from a testrun of this PR and the develop branch and the results were the same. |
Jenkins regression test results:
|
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.
all changes are in hydro directory, so OK
TYPE: new feature, enhancement
KEYWORDS: hydro, reservoir, reach lakes, namelist style guide
SOURCE: Soren Rasmussen and Ryan Cabell, NSF NCAR, internal
DESCRIPTION OF CHANGES:
Add lake_opt to namelist, reservoirs to own nlist
Add (integer) to &hydro_nlist: 0 [lakes off], 1 [level pool], or 2 [passthrough], or 3 [reservoir DA]
turning lakes off (lake_option=0) will disable lakes even if
route_lake_f is supplied, or outlake is turned on.
Reservoir DA will not be used unless lake_option=3, even if all
other required namelist options are present
Reset lake_opt from 3 to 1 after setting DA flag
Reservoir options have been moved from &hydro_nlist to
&reservoir_nlist
This will make it easier to isolate / compose namelist files
If lake_option is not equal to 3, &reservoir_nlist won't be read,
meaning it can be completely removed for applications that don't
need it
Use reasonable lake_option default when not specified
Update testing namelists
Forcing variables names that have been added to namelist.hrldas
Reach Lakes: support for lakes (reservoirs) in non-UDMP reach-based routing, restoring functionality that was in WRF-Hydro version 5.1.1
Style guide cleanup
Problem: WRF-Hydro developments need to be ported over for future release
LIST OF MODIFIED FILES:
TESTS CONDUCTED:
RELEASE NOTE:
hydro updates: In
hydro.namelist
adding lake_opt to namelist, reservoirs to own namelist. Support for lakes (reservoirs) in non-UDMP reach-based routing added and some style guide cleanup completed.