Skip to content

Commit

Permalink
Update loop to apply ice adjusted only at non-land points
Browse files Browse the repository at this point in the history
(slmskl is not '1').

Fixes #719.
  • Loading branch information
GeorgeGayno-NOAA committed Aug 23, 2021
1 parent cabe68f commit fb7cfa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions physics/sfcsub.F
Original file line number Diff line number Diff line change
Expand Up @@ -2019,12 +2019,14 @@ subroutine sfccycle(lugb,len,lsoil,sig1t,deltsfc &
! *,' tsffcs=',tsffcs(iprnt),' slianl=',slianl(iprnt)

do i=1,len
if (nint(slmskl(i)) /= 1) then
if (sicanl(i) >= min_ice(i)) then
slianl(i) = 2.0_kind_io8
else
slianl(i) = zero
sicanl(i) = zero
endif
endif
enddo

if (fh-deltsfc > -0.001 ) then
Expand Down

0 comments on commit fb7cfa8

Please sign in to comment.