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 for bad leaf C:N ratios during transient land simulations #6370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions components/elm/src/biogeochem/ComputeSeedMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,17 @@ subroutine LeafProportions(pft_type, ignore_current_state, &
pstorage = 0._r8
pxfer = 0._r8

if (tot_leaf == 0._r8 .or. ignore_current_state) then
!if (tot_leaf == 0._r8 .or. ignore_current_state) then
if (veg_vp%evergreen(pft_type) == 1._r8) then
pleaf = 1._r8
else
pstorage = 1._r8
end if
else
pleaf = leaf /tot_leaf
pstorage = leaf_storage/tot_leaf
pxfer = leaf_xfer /tot_leaf
end if
!else
! pleaf = leaf /tot_leaf
! pstorage = leaf_storage/tot_leaf
! pxfer = leaf_xfer /tot_leaf
!end if
Comment on lines +186 to +196
Copy link
Contributor

Choose a reason for hiding this comment

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

let's delete these commented-out lines and reindent the remaining lines.

Copy link
Member

Choose a reason for hiding this comment

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

@dmricciuto please see above.


end subroutine LeafProportions

Expand Down