Skip to content
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

FUN code logic to reduce or increase carbon allocation used for uptake is reversed #704

Closed
olyson opened this issue May 1, 2019 · 0 comments · Fixed by #727
Closed

FUN code logic to reduce or increase carbon allocation used for uptake is reversed #704

olyson opened this issue May 1, 2019 · 0 comments · Fixed by #727
Labels
bug something is working incorrectly science Enhancement to or bug impacting science

Comments

@olyson
Copy link
Contributor

olyson commented May 1, 2019

Brief summary of bug

This bug was first reported in Nov 2018 and subsequently investigated but an issue has not been filed until this point.
Carbon allocation to uptake responds to CN(uptake-cost) and CN(actual). The intended implementation is: For C:N less than the target C:N, C allocation is reduced with cost. For C:N greater than the target C:N, C allocation is increased with high C:N. However, the actual implementation is reversed.

General bug information

CTSM version you are using: release-clm5.0.01

Does this bug cause significantly incorrect results in the model's science? Yes

Configurations affected: All with FUN on

Details of bug

FUNbugCodeDiff

Important output or errors that show the problem

We've completed 40 year global 1850 runs (after AD and post-AD spinup) for a control and with the bug fix. Diagnostics are here:

http://webext.cgd.ucar.edu/I1850/clm50_release-clm5.0.15_delta_CN_FUNbug_2deg_GSWP3V1_1850/lnd/clm50_release-clm5.0.15_delta_CN_FUNbug_2deg_GSWP3V1_1850.21_40-clm50_release-clm5.0.15_2deg_GSWP3V1_1850.21_40/setsIndex.html

We've also completed a historical run. Diagnostics are here:

http://webext.cgd.ucar.edu/I20TR/clm50_release-clm5.0.15_delta_CN_FUNbug_2deg_GSWP3V1_hist/lnd/clm50_release-clm5.0.15_delta_CN_FUNbug_2deg_GSWP3V1_hist.1995_2014-clm50_release-clm5.0.15_2deg_GSWP3V1_hist.1995_2014/setsIndex.html

Our assessment is that the impact is relatively small, but would affect climate; however it doesn’t appear to strongly affect transient C response.

A branch with this fix is here:

https://github.com/olyson/ctsm/tree/delta_CN_FUNbug

ekluzek added a commit to ekluzek/CTSM that referenced this issue May 22, 2019
@billsacks billsacks added tag: bug - impacts science bug something is working incorrectly and removed type: bug - impacts science labels May 24, 2019
@samsrabin samsrabin added the science Enhancement to or bug impacting science label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is working incorrectly science Enhancement to or bug impacting science
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants