Skip to content

Commit

Permalink
Ensure tep and qp are always initialized in mpbl_depth
Browse files Browse the repository at this point in the history
This should fix Issue #930
  • Loading branch information
narnold1 authored May 13, 2024
1 parent db55c30 commit ed35b2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,8 @@ subroutine mpbl_depth(i,j,icol,jcol,nlev,tpfac, entrate, pceff, vscale, pertopt,
qp = q(i,j,nlev) + 2.*evap(i,j)/(zrho*wstar)
! print *,'tpert=',2.*sh(i,j)/(zrho*wstar*MAPL_CP)
else

tep = t(i,j,nlev) + 0.4
qp = q(i,j,nlev)
end if
else ! tpfac scales up bstar by inv. ratio of
! heat-bubble area to stagnant area
Expand Down

0 comments on commit ed35b2e

Please sign in to comment.