-
Notifications
You must be signed in to change notification settings - Fork 50
Bugfixes to SLC checks, post-LIAU #339
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
base: ufs/dev
Are you sure you want to change the base?
Bugfixes to SLC checks, post-LIAU #339
Conversation
Deleted code associated with already removed print statements Deleted excess comments.
|
@barlage Here's the PR for the STC check we were discussing yesterday. |
* Change tfreeze to match that in NoahMP * Only set SLC to SMC if temp newly > tfreez
|
Updated PR to also update the value used to determine freezing soils. Some figures showing impact on model output here |
Access to the figures is not open |
Thanks Mike - I just made them visible / commentable to anyone from NOAA. |
|
@ClaraDraper-NOAA Is this PR ready for review and the UFS merge queue? I'm not seeing any supermodule PRs or regression testing that has been done, although I see that you tested in the global workflow on Ursa. Do you plan to open supermodule PRs and run the regression tests yourself? |
| integer :: nother, nsnowupd | ||
| integer :: nstcupd, nslcupd, nfrozen, nfrozen_upd | ||
| logical :: print_update_stats = .False. | ||
| real(kind=kind_phys), parameter :: tfreez_noahmp=273.16 ! tfreez used in NoahMP to determine frozen ground |
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.
Is there a reason why noahmp needs to redefine this constant? The host provides this value as a physical constant and it should be used to maintain consistency with the rest of physics.
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.
It looks like con_t0c (temperature_at_zero_celsius) is set to 273.15 and con_ttp (triple_point_temperature_of_water) is set to 273.16.
|
Most of the code changes look fine. I'll approve once the question about the freezing point constant is addressed and regression testing has been done. |
Description of Changes:
Increased the lower bound allowed for soil moisture from 1 mm/layer to 0.1 mm/layer.
Also changed logic to allow soil moisture to be below the lower bound, but to prevent the DA increments themselves from reducing soil moisture below the lower bound.
The latter required moving the check into the code block where the increment is applied (and out of the do_stcsmc_adjustment conditional. This should really always be set to true, so I think this is OK.
Additional tidy up:
-removed old code monitoring the different types of updates, since the print statements for the results have been removed
-removed some excessive comments
Tests Conducted:
Compile and ran in global_workflow/ufs_model on URSA. results are as expected. The blocks of reduced sfc temps in very arid regions are now gone.
Dependencies:
N/A
Documentation:
N/A
Issue (optional):
Resolves issue #