You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per quick discussion with @rosiealice and @walkeranthonyp we should check if the layer is stems at night as well as during the day.
I am not clear what we should set the output to in this new case, so far we have:
Daytime/some leaves: calculate stomatal conductance and assimilation using lots of equations :)
Daytime/no leaves:
! No leaf area. This layer is present only because of stems.
! Net assimilation is zero, not negative because there are
! no leaves to even respire
! (leaves are off, or have reduced to 0)
psn_out = 0._r8
anet_av_out = 0._r8
rstoma_out = min(rsmax0,cf/(stem_cuticle_loss_frac*stomatal_intercept(ft)))
c13disc_z = 0.0_r8
Nighttime/some leaves:
anet_av_out = -lmr
psn_out = 0._r8
! The cuticular conductance already factored in maximum resistance as a bound
! no need to re-bound it
rstoma_out = cf/stomatal_intercept_btran
c13disc_z = 0.0_r8 !carbon 13 discrimination in night time carbon flux, note value of 1.0 is used in CLM
nighttime/no leaves: ???????
The text was updated successfully, but these errors were encountered:
In the LeafLayerPhotosynthesis code we first check whether it is daytime or nighttime and set the subroutine outputs a certain way.
Then ONLY if it is daytime we also check if the layer is just stems (i.e. the layer has dropped leaves for some reason) and set the outputs differently.
As per quick discussion with @rosiealice and @walkeranthonyp we should check if the layer is stems at night as well as during the day.
I am not clear what we should set the output to in this new case, so far we have:
The text was updated successfully, but these errors were encountered: