-
Notifications
You must be signed in to change notification settings - Fork 318
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
Methane should not depend on gridcell-level TWS #658
Comments
I'm going to upgrade this to "bug - impacts science" because, the more I think about it, the more (1) feels really scientifically wrong. For example, in a grid cell that is part vegetated and part glacier, I believe the methane parameterization currently depends on the amount of glacial ice that we count in the column-level water budget of glacier columns. |
Discussion at today's clm software meeting: this should be fixed at some point, but not at a super high priority. It will require retuning the relevant parameters. |
Blocks #659 |
This issue has tripped me up again. I was puzzled by the fact that, in my testing for both ctsm1.0.dev075 and the upcoming ctsm1.0.dev077 (330fa21, the key commit being 957a1d4), I saw answer changes outside the affected landunits in test When I reran this test from ctsm1.0.dev074, ctsm1.0.dev075 and the branch for ctsm1.0.dev077 (330fa21), but with What I'm still confused about is: In a selection of non-transient tests that I spot-checked, including the long tests |
I often run into a situation where a change in some unrelated part of the code causes substantial answer changes to various methane variables. My best guess is that this is because of the dependence of methane on gridcell-level total water storage (TWS):
https://github.com/ESCOMP/ctsm/blob/b26c12f6318c7e7b766b2960f46aec7c56df7941/src/biogeochem/ch4FInundatedStreamType.F90#L306-L307
This is problematic for two reasons:
Scientifically, we shouldn't have column-level quantities depending on gridcell-level quantities. The way the code currently operates, a change in, say, the glacier portion of a gridcell causes significant answer changes in the vegetated column in that grid cell.
This causes extra time in going through test results for many tags where we expect small answer changes in some limited hydrology fields. These kinds of tags are common right now, so the current operation of this code causes technical debt.
After some deliberation, I have decided to label this as "bug - other". I do believe that point (1) indicates a bug. However, I doubt this has a substantial impact on the scientific results of the model.
The text was updated successfully, but these errors were encountered: