4 SUBROUTINE tlift43(P,T,Q,QS,GZ,ICB,NK,TVP,TPK,CLW,ND,NL,KK)
5 REAL gz(nd),tpk(nd),clw(nd),p(nd)
6 REAL t(nd),
q(nd),qs(nd),tvp(nd),
lv0
8 c *** assign
values of thermodynamic constants ***
34 c *** calculate certain parcel quantities, including static energy ***
37 1 t(nk)-273.15))+gz(nk)
43 c *** calculate lifted parcel quantities below cloud base ***
49 tpk(
i)=t(nk)-(gz(
i)-gz(nk))*cpinv
54 c *** find lifted parcel quantities above cloud base ***
67 s=
cpd+alv*alv*qg/(rv*t(
i)*t(
i))
75 es=6.112*exp(17.67*tc/denom)
77 es=exp(23.33086-6111.72784/tg+0.15215*log(tg))
84 clw(
i)=max(0.0,clw(
i))