-
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
dynamic landunits: handle methane with changing lake area #43
Comments
When trying to run a dynamic lakes BGC case (specifically, |
Now that dynamic lakes are nearly on master, I'm changing this from an enhancement to a bug. |
I was getting a gridcell-level methane balance check error when running ERS_Lm25.1x1_smallvilleIA.IHistClm50BgcCropQianRsGs.cheyenne_gnu.clm-smallville_dynlakes_monthly. I'm thinking it was due to ESCOMP#43. So for now, I'm disabling methane in this testmod. (I thought about changing it to an Sp case, but (1) currently you're not allowed to run smallville in an Sp case, and (2) it would be nice to exercise as much of the BGC code as possible in this test, to exercise the dynamic landunit conservation code for BGC variables.)
Discussion in ctsm-software meeting: For now, in order to allow ch4 always on with BGC: Let's turn off the gridcell methane conservation check when dynamic lakes are active, maybe just in the first time step of each year. Then we'll come back to this later and fix it properly. But since the conservation errors are probably quite small, this isn't high priority. |
updates for nuopc threading
…COMP#43, we currently just allow it to be true even through the conservation check for methane fails at the first time step of each year
This issue describes a ch4 balance error with transient lakes.
The way the problem manifests in #1868 and if it's the same as #43, we could comment out the gridcell balance check (as suggested above) but for the first timestep of the run. |
@slevisconsulting pointed out that we have this current workaround in place to bypass the gridcell-level methane checks on the first time step of each year when using dynamic lakes: CTSM/src/biogeochem/ch4Mod.F90 Lines 2330 to 2332 in 616905b
together with some code that bypasses the ch4 balance checks if this flag is true. As @slevisconsulting pointed out in #1868 (reply in thread) it's likely that there is a problem in time step 0 of a hybrid case that may need a similar workaround to the one above. |
Change shebang lines, abort if direction file not set, add a compset
Remove MCT from code base
4ff1e98de Merge tag 'v0.7.7' into tmp-release 87640ad Bump to 0.7.7 c124dc5 Merge pull request ESCOMP#43 from ESMCI/fix/root_dir 3ff935b update tests 0593149 one more improvement d95f5d6 fix status issue c304487 update complex test git-subtree-dir: .lib/git-fleximod git-subtree-split: 4ff1e98de895eb146de451e6d676ecc78d224662
a60032499 Merge tag 'v0.8.2' into tmp-release 75a0337 Bump to 0.8.2 7136066 Merge pull request ESCOMP#54 from ESMCI/fix/tag-not-found a90de4f update to fetch tag first a6e43fc Bump to 0.8.1 229ba03 Merge pull request ESCOMP#53 from ESMCI/fix/ssh_access e9cd2be better fix for issue with ssh access c624b61 Bump to 0.8.0 6ccf617 Merge pull request ESCOMP#51 from ESMCI/fix/recursive 53fce57 no need to make submodule objects persist dae1c82 now working with issue ESCOMP#50 ded91fd all tests passing, issue ESCOMP#50 fixed 62a338b all pytests now passing 143abac tests a-d all pass 2b021fd add documentation to submodule.py 72211d2 add the new submodule class 82dd7a4 test_b_update now working a7d8b4e all pytests passing 5322019 Bump to 0.7.9 1f07cb6 Merge pull request ESCOMP#49 from ESMCI/fix/fxDONOTUSEurl 31ce71b use poetry update to update poetry.lock file 46043f0 add code of conduct (issue ESCOMP#35) 0c3d683 dependabot changes and issue ESCOMP#48 25ccc15de Merge tag 'v0.7.8' into tmp-release 8eae7e3 Bump to 0.7.8 34daa06 Merge pull request ESCOMP#46 from ESMCI/add_optional_keyword af12c80 fix spelling 7ea36dc remove manage_externals error 2ede182 add optional to status output 4ff1e98de Merge tag 'v0.7.7' into tmp-release 87640ad Bump to 0.7.7 c124dc5 Merge pull request ESCOMP#43 from ESMCI/fix/root_dir 3ff935b update tests 0593149 one more improvement d95f5d6 fix status issue c304487 update complex test a34070b Bump to 0.7.6 9e5d5f7 Merge pull request ESCOMP#40 from ESMCI/fix/change_url 00b7b38 some fixes when modifying url git-subtree-dir: .lib/git-fleximod git-subtree-split: a600324993623cba8e663fcbfdb6a0f6832dd802
Bill Sacks < [email protected] > - 2016-02-16 13:38:10 -0700
Bugzilla Id: 2283
Bugzilla CC: [email protected], [email protected], [email protected],
The methane code (ch4Mod.F90) implicitly assumes that finundated is 1 for lakes. Thus, if lake area increases, the right thing to do is probably to immediately inundate any land it took over, with code similar to what happens right now when inundated area increases.
Decreases in lake area should be handled appropriately now, but increases in lake area are not. Currently, there is no way for lakes to increase in area, but this will need to be revisited once they can.
The text was updated successfully, but these errors were encountered: