-
Notifications
You must be signed in to change notification settings - Fork 145
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
Enforce CLM balance checks w/ DART #674
base: main
Are you sure you want to change the base?
Conversation
CNVegetationFacade.f90 not allowing for the C and N balance checks to be called. Force the call and allow CNBalanceCheckMod to decide whether to skip or not.
BalanceCheckMod was not functional using DA_nstep Replace with is_first_restart_step
Because these are SourceMod changes the file changes as part of this PR look huge because in some cases an entire file needs to be added. However actual changes compared to Source code are quite small. To look at differences compare with CLM Source Code version ctsm_cesm2.2.03. For example: |
I would like to increase the capability of the SourceMod to allow the user to modify the number of steps to skip after DA. Currently it is fixed at 1 skipped time step for all balance checks including carbon, nitrogen, snow, water, radiation etc. Some users have found it convenient to skip multiple time steps (e.g. soil moisture DA). |
Also posted issue in CTSM github ESCOMP/CTSM#2525 to make them aware of bug for future releases, and also look for an easy, alternative fix. |
Description:
The CLM Sourcecode (ctsm_cesm2.2.03 run on Derecho), nor the current CLM-DART SourceMods allow for the CLM balance checks to be turned on after the DA time step. Balance checks are skipped for the entire simulation, which could mask important issues like model stability.
Fixes issue
Fixes issue #671
Types of changes
Documentation changes needed?
No Doc changes needed. This is a capability that should have already been working, but apparently broke when updating the ctsm version to work with Derecho.
Tests
Ran the CLM-DART tutorial, and included print statements to confirm balance checks were being enforced after 1st time step after restart.
Checklist for merging
Checklist for release
Testing Datasets