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

Fix C3 and C4 assignment in Ryan 1991 leaf maintenance respiration model #1053

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

JessicaNeedham
Copy link
Contributor

This PR fixes the incorrect C3 assignment in the Ryan 1991 leaf maintenance respiration model. It also changes the LeafLayerBiophysicalRates subroutine to put the C3/C4 temperature sensitivity code in an if else statement.

This PR addresses issue #1052 .

Collaborators:

@rgknox
@glemieux

Expectation of Answer Changes:

This PR will change answers if the leaf maintenance respiration model is set to Ryan 1991, as C3 and C4 temperature sensitivity will be reversed.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the in-code documentation .AND. (the technical note .OR. the wiki) accordingly.
  • [ x] I have read the CONTRIBUTING document.
  • FATES PASS/FAIL regression tests were run
  • If answers were expected to change, evaluation was performed and provided

Test Results:

Code compiles on Perlmutter but no other testing.

CTSM (or) E3SM (specify which) test hash-tag:

CTSM (or) E3SM (specify which) baseline hash-tag:

FATES baseline hash-tag:

Test Output:

Tidy places in code where we distinguish c3 c4 plants.
Copy link
Contributor

@rgknox rgknox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@JessicaNeedham
Copy link
Contributor Author

The way the LeafLayerBiophysicalRates had been written jmax was adjusted in both c3 and c4 plants, and then c4 plants had additional adjustments to vcmax. Does the jmax belong outside of the c3/c4 if else statement?

@glemieux
Copy link
Contributor

Regression testing underway on Cheyenne

@rgknox
Copy link
Contributor

rgknox commented Jul 18, 2023

yes, agreed, good catch regarding the jmax fix @JessicaNeedham

@glemieux
Copy link
Contributor

All expected tests PASS on cheyenne against fates-sci.1.66.2_api.25.5.0-ctsm5.1.dev130. All fates tests result in DIFFs since the Ryan model is the default respiration for all test modes. Checking the AllVars test shows that the only difference during the first time step is FATES_NET_C_UPTAKE_CLLL which makes sense since it is calculated immediately after the maintenance respiration calculation. All other differences appear to be downstream of this as they occur on the next time step.

Generated baseline fates-sci.1.66.3_api.25.5.0-ctsm5.1.dev130.

@glemieux glemieux merged commit 43d5e55 into NGEET:main Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C3/C4 assignment is incorrect in Ryan 1991 leaf maintenance respiration code
3 participants