Skip to content

Commit

Permalink
Fix ESCOMP#1462 so that GSSHA and GSSUN are actually set for history …
Browse files Browse the repository at this point in the history
…files with values not just identical to missing value
  • Loading branch information
ekluzek committed Sep 20, 2021
1 parent 3dcbc74 commit c3aea99
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/biogeophys/PhotosynthesisMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1898,17 +1898,13 @@ subroutine Photosynthesis ( bounds, fn, filterp, &
end if

!
! Turn this off right now as it causes an apparant change in
! answers (See ESCOMP/#CTSM/1446) for history variables
! This sets the variables GSSUN and GSSHA
!
if ( .false. )then
! Write stomatal conductance to the appropriate phase
if (phase=='sun') then
gs_mol_sun(p,iv) = gs_mol(p,iv)
else if (phase=='sha') then
gs_mol_sha(p,iv) = gs_mol(p,iv)
end if
! Write stomatal conductance to the appropriate phase
if (phase=='sun') then
gs_mol_sun(p,iv) = gs_mol(p,iv)
else if (phase=='sha') then
gs_mol_sha(p,iv) = gs_mol(p,iv)
end if

! Use time period 1 hour before and 1 hour after local noon inclusive (11AM-1PM)
Expand Down

0 comments on commit c3aea99

Please sign in to comment.