-
Notifications
You must be signed in to change notification settings - Fork 365
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
Carbon Imbalance with CN runs #6203
Comments
Well, that's not good. Does the list of failing tests include CNP, or just CN tests? |
Great catch @peterdschwartz! We will need to dig in on this one. |
@thorntonpe Includes CNP tests as well. FATES is also affected. |
The single point tests like |
FYI @rgknox |
Good news! My recent changes to |
Got rid of carbon imbalances from all but FATES configs. The FATES issue isn't from my recent PR as checking out |
Thanks for the heads up @peterdschwartz. Could I grab your branch fix to check this out and see about addressing the FATES issue? |
same, could you post here please? |
Take a look at this branch: https://github.com/peterdschwartz/E3SM/commits/peterdschwartz/lnd/fix-balance-errors/ |
Just a quick note that I was able to replicate the issue. |
I ran a couple of tests with fates that write out some diagnostic statements after cherry-picking the top commit from @peterdschwartz's branch into a copy of the fates landuse branch from PR #5760. I also reinstated the From the diagnostic output, it looks like the Based on the way the column balance check is set up, in which we only use litter fall and er for the inputs and outputs respectively, I think we may need something similar for the gridcell level check with fates runs. I think this would simply involve calling |
@glemieux
|
Ok, no more FAILs nor DIFFs for my branch. I'll rebase to run the newly added tests, and if that's good, make a PR with this fix and a few others. |
) Carbon balance was never checked correctly and let through negative values. Initialization of Ecosystem variables needed to be re-adjusted, and balance checking for FATES needed to be changed, which causes round-off differences in CMASS_BALANCE_ERROR for fate_cold_allvars test. Also included divide-by-zero check in PhenologyMod.F90 to fix fpe in debug mode. [non-BFB] for one FATES test. Fixes #6120 Fixes #6203 Fixes #6177
Discovered that
GridCBalanceCheck
doesn't use absolute value when error checking so negative imbalances can propagate through the Land Model. Line is hereRunning
e3sm_land_developer
test suite after changing to absolute value shows tests with CN enabled all FAIL with small ( ~1.e-07
) imbalances. Similar but independent error to keep in mind is Issue #6052The text was updated successfully, but these errors were encountered: