-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add support for calibratable parameters (lumped version) #102
Add support for calibratable parameters (lumped version) #102
Conversation
Ngen automatic integration tests may be failing due to NGEN issue #751. |
PR #102 Review
As noted by Grey, the NGen integration tests indicate that a shared library called “register_bmi” is missing. I don't know the significance of these checks. |
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.
Request that case statements be rearranged to alphabetical order to facilitate code readability.
Thanks for your review, @drakest123. I put the BMI case listings in alphabetical order for easier reading. |
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 reordering the case statements in BMI_noahowp.f90.
Purpose
This PR exposes the model's calibratable parameters via its BMI so that they can be calibrated via NextGen. This PR exposes these parameters in the lumped (i.e., non-gridded) version of Noah-OWP-Modular.
Additions
Calibratable parameters
The following parameters were added to the model's BMI:
BEXP
SMCMAX
DKSAT
RSURF_EXP
REFKDT
AXAJ
BXAJ
XXAJ
SLOPE
CWP
VCMX25
MP
MFSNO
SCAMAX
***RSURF_SNOW
HVT
FRZX
**KDT
****
FRZX
andKDT
were added because they are recalculated/reinitialized when settingSMCMAX
,DKSAT
and/orREFKDT
.FRZX
andKDT
were added so that they may be included in the unit test program; they are not intended to be calibrated.*** This PR adds
SCAMAX
to Noah-OWP-Modular because it is a NWM 3.0 calibratable parameter.SCAMAX
was added as a member ofparameters_type
. The calculation ofFSNO
(i.e., snow covered area) was amended to follow WRF-Hydro's calculation as:water%FSNO = parameters%SCAMAX * TANH( water%SNOWH /(2.5 * parameters%Z0 * FMELT))
Changes
The Noah-OWP-Modular unit test program (
/test/noahowp_driver_test.f90
) was updated to facilitate testing of the calibratable parameters.Testing
The refactored unit test program was executed and gave these results.
Notes
This PR replicates PR #95, which exposed the calibratable parameters for the gridded version of Noah-OWP-Modular.