Skip to content

Commit

Permalink
copy changes from GFS_phys_time_vary.fv3.F90 to the SCM version
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfirl committed Oct 16, 2024
1 parent 554d369 commit ca3b61f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,10 @@ subroutine GFS_phys_time_vary_init (

isnow = nint(snowxy(ix))+1 ! snowxy <=0.0, dzsno >= 0.0

! using stc and tgxy to linearly interpolate the snow temp for each layer

do is = isnow,0
tsnoxy(ix,is) = tgxy(ix)
tsnoxy(ix,is) = tgxy(ix) + (( sum(dzsno(isnow:is)) -0.5*dzsno(is) )/snd)*(stc(ix,1)-tgxy(ix))
snliqxy(ix,is) = zero
snicexy(ix,is) = one * dzsno(is) * weasd(ix)/snd
enddo
Expand Down

0 comments on commit ca3b61f

Please sign in to comment.