-
Notifications
You must be signed in to change notification settings - Fork 726
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
NoahMP bug fix #1767
NoahMP bug fix #1767
Conversation
Synchronize the develop branch from official WRF GitHub
sync up develop branch
The Jenkins tests have passed: Test Type | Expected | Received | Failed
|
@cenlinhe Would you like to make this change available sooner? That would mean 4.4.2. |
@weiwangncar Yes, it works for me. Thanks! |
When will this PR be merged to develop or release-v4.4.2 branch? Recently, two other NoahMP bugs have been identified and I would like to create another PR for those bug fixes based on the updated develop or release-v4.4.2 branch with the current PR bug fix included. Thanks! |
@dudhia Can you check this PR and approve if it is OK so that Cenlin can move to his next change? |
I also saw some dimension changes for nsoil. Were those described? |
Those are just changing the hard-coded "4" soil layers to "nsoil". By default, NoahMP uses 4 soil layers, so this change is no-answer change. However, this gives more flexibility for users to change nsoil in the future. Otherwise, users need to manually change the hard-coded "4" soil layer in those code files. |
OK, it should be added to the description. Thanks. |
Just added to the description above. |
It is this subroutine "COMBINE" in module_sf_noahmplsm.F. I have included this in the above description. |
@cenlinhe I added RELEASE NOTE in your PR. Please see if it is ok. |
The release note looks good to me. Thanks! |
TYPE: bug fix KEYWORDS: two stream inout variable, soil ice in snow combine, water variable unit, generic nsoil treatment SOURCE: Cenlin He (NCAR) with report from CWB/Taiwan DESCRIPTION OF CHANGES: A few bug fixes for NoahMP: 1. Change a few "out" only variables in TWOSTREAM noahmp subroutine to "inout"; 2. Change the unit for 3 accumulated noahmp water flux variables in comments and registry; 3. Change the soil ice treatment in subroutine COMBINE to conserve water; 4. Change some hard-coded "4" soil layer number to "nsoil" for more generic treatment. LIST OF MODIFIED FILES: list of changed files M Registry/registry.noahmp M phys/noahmp TESTS CONDUCTED: 1. The bug fixes have been tested for NoahMP run over the U.S. for an entire year. 2. Reg tests have passed. RELEASE NOTE: This PR fixes a few variable declaration in subroutine TWOSTREAM from OUT to INOUT, changes soil ice treatment in subroutine COMBINE, and corrects units for three accumulated flux variables in comments and registry. It also removed hard-coded 4 soil layers, and replaces it with parameter NSOIL.
A few bug fixes for NoahMP
TYPE: bug fix
KEYWORDS: two stream inout variable, soil ice in snow combine, water variable unit, generic nsoil treatment
SOURCE: Cenlin He (NCAR) with report from CWB/Taiwan
DESCRIPTION OF CHANGES:
A few bug fixes for NoahMP:
LIST OF MODIFIED FILES: list of changed files
M Registry/registry.noahmp
M phys/noahmp
TESTS CONDUCTED:
RELEASE NOTE: This PR fixes a few variable declaration in subroutine TWOSTREAM from OUT to INOUT, changes soil ice treatment in subroutine COMBINE, and corrects units for three accumulated flux variables in comments and registry. It also removed hard-coded 4 soil layers, and replaces it with parameter NSOIL.