44 SUBROUTINE lfmfld_gfs(RH4410,RH7294,RH4472,RH3310)
48 use vrbls3d, only: pint, q, t, pmid
51 use ctlblk_mod
, only: jsta, jend, spval, im
56 real,
PARAMETER :: rhowat=1.e3
57 real,
parameter:: con_rd =2.8705e+2
58 real,
parameter:: con_rv =4.6150e+2
59 real,
parameter:: con_eps =con_rd/con_rv
60 real,
parameter:: con_epsm1 =con_rd/con_rv-1
61 real,
parameter:: strh1=0.44,strh2=0.72,strh3=0.44,strh4=0.33 &
62 ,sbrh1=1.00,sbrh2=0.94,sbrh3=0.72,sbrh4=1.00
66 REAL alpm, dz, es, pm, pwsum, qm, qs
67 REAL,
dimension(IM,jsta:jend),
intent(out) :: rh4410, rh7294, rh4472 &
71 real p4410, p7294,p4472,p3310,q4410,q7294,q4472,q3310,qs4410, &
72 qs7294,qs4472,qs3310,ps,p33,dp1,dp2,dp3,dp4
103 llmh = nint(lmh(i,j))
113 dp1 = max(min(pint(i,j,l+1),sbrh1*ps) &
114 -max(pint(i,j,l),strh1*ps),0.)
115 dp2 = max(min(pint(i,j,l+1),sbrh2*ps) &
116 -max(pint(i,j,l),strh2*ps),0.)
117 dp3 = max(min(pint(i,j,l+1),sbrh3*ps) &
118 -max(pint(i,j,l),strh3*ps),0.)
119 dp4 = max(min(pint(i,j,l+1),sbrh4*ps) &
120 -max(pint(i,j,l),strh4*ps),0.)
125 es = min(
fpvsnew(t(i,j,l)),pmid(i,j,l))
126 qs=con_eps*es/(pmid(i,j,l)+con_epsm1*es)
135 q4410 = q4410 + qm*dp1
136 qs4410 = qs4410+ qs*dp1
142 q3310 = q3310 + qm*dp4
143 qs3310 = qs3310+ qs*dp4
149 q4472 = q4472 + qm*dp3
150 qs4472 = qs4472+ qs*dp3
155 q7294 = q7294 + qm*dp2
156 qs7294 = qs7294+ qs*dp2
165 rh4410(i,j) = q4410/qs4410
171 rh3310(i,j) = q3310/qs3310
177 rh4472(i,j) = q4472/qs4472
183 rh7294(i,j) = q7294/qs7294
elemental real function, public fpvsnew(t)
calcape() computes CAPE/CINS and other storm related variables.