-
Notifications
You must be signed in to change notification settings - Fork 92
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
negative value in leaf litter #1249
Comments
Still working on this but FYI I tracked it to something happening in |
I should note that I am using this test to diagnose:
and it occurs
|
Okay so at least part of the reason is originating here, because
The reason it's larger is because, as far as I can tell,
So somehow these array values are getting mixed around... again, this is in fates |
Okay it's actually because the values in the parameter file it's pointing to are wrong. I believe this is the one we made for tests? |
Discussing this briefly with @adrifoster during the ctsm-fates stand up this morning. The issue appears to be showing up in the tests in which we generate and modify the fates parameter file on the fly. This suggests to me that this might be an issue with the generation order of operations or a bug in modify_fates_paramfile.py. Note that |
actually looking at this again I think this must be something that I did. I didn't realize that the parameter files were generated from the .cdl file in the src code - but when I changed it to main and rebuilt the test it was still using my old cdl file. I am going to close for now because I think this is something that didn't get updated on my end correctly.... |
In testing PR1247 I found that leaf litter fines
patch%litter%leaf_fines
is a very small negative number - which at the very least propagates to SAV and bulk density values.This issue is in the
main
branch, and I'm currently working through when it occurs. Seemingly not the first timeed_ecosystem_dynamics
is called.I don't think it's due to the way litter is initialized, because I updated that (to 0.0 from unset) and the same issue occurred (with the same values).
The text was updated successfully, but these errors were encountered: