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

elai and esai for non-SP runs should use frac_sno #1116

Closed
billsacks opened this issue Aug 20, 2020 · 3 comments · Fixed by #1112
Closed

elai and esai for non-SP runs should use frac_sno #1116

billsacks opened this issue Aug 20, 2020 · 3 comments · Fixed by #1112
Labels
bug something is working incorrectly science Enhancement to or bug impacting science

Comments

@billsacks
Copy link
Member

Brief summary of bug

I noticed that the formulation for elai and esai includes frac_sno for satellite phenology runs, but not for CN/BGC runs. @dlawrenncar thinks this is a bug, and that CN/BGC should include frac_sno (see #1112 (comment)).

General bug information

CTSM version you are using: Latest master

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

Configurations affected: All non-SP cases

Details of bug

For Satellite Phenology, I see:

elai(p) = max(tlai(p)*(1.0_r8 - frac_sno(c)) + tlai(p)*fb*frac_sno(c), 0.0_r8)
esai(p) = max(tsai(p)*(1.0_r8 - frac_sno(c)) + tsai(p)*fb*frac_sno(c), 0.0_r8)

whereas for BGC, there is no accounting for frac_sno in the similar lines:

elai(p) = max(tlai(p)*fb, 0.0_r8)
esai(p) = max(tsai(p)*fb, 0.0_r8)

@billsacks billsacks added bug something is working incorrectly tag: bug - impacts science labels Aug 20, 2020
@billsacks
Copy link
Member Author

@danicalombardozzi @swensosc would one of you want to confirm @dlawrenncar 's feelings that this is a bug, and that CNVegStructUpdate should use the same formulation as in SatellitePhenologyMod?

@danicalombardozzi I'm thinking we could fold this bug fix into #1112 .

@swensosc
Copy link
Contributor

swensosc commented Aug 20, 2020 via email

@danicalombardozzi
Copy link
Contributor

Yes, this looks like a bug, and I can fold it into #1112

ekluzek added a commit to chrislxj/ctsm that referenced this issue Jan 27, 2021
Grass/crop snow burial fraction fix, and some other fixes

(1) Crop/grass snow burial changed based on height and lodging (Danica
    Lombardozzi) - resolves ESCOMP#516. Updates grass and crop snow
    burial ('fb' in SatellitePhenologyMod.F90) from being 0.2m to change
    with PFT height and accounts for 20% lodging (falling over).

(2) In BGC code, make elai and esai depend on frac_sno (Danica
    Lombardozzi, Keith Oleson & Bill Sacks) - resolves ESCOMP#1116

(3) Fix to quadratic solution error bug caused by negative shaded
    photosynthesis (Danica Lombardozzi & Keith Oleson) - resolves
    ESCOMP#756

(4) Point to cime branch tag that avoids building CDEPS with LILAC, to
    avoid dependence on unreleased ESMF code (Bill Sacks) - resolves
    ESCOMP#1203

(5) Some tweaks to documentation and how the documentation is built
    (Bill Sacks)
@samsrabin samsrabin added the science Enhancement to or bug impacting science label Aug 8, 2024
samsrabin pushed a commit to samsrabin/CTSM that referenced this issue Sep 17, 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.

4 participants