34 SUBROUTINE trpaus(PTROP,TTROP,ZTROP,UTROP,VTROP,SHTROP)
40 use vrbls3d, only: pint, t, zint, uh, vh
43 use ctlblk_mod
, only: jsta, jend, spval, im, jm, lm
51 real,
PARAMETER :: crtlap=0.002e0, pstart=5.0e4
55 REAL,
dimension(IM,JM),
intent(out) :: ptrop,ttrop,ztrop,utrop, &
57 REAL tlapse(lm),dz2(lm),delt2(lm),tlapse2(lm)
60 real pm,delt,dz,rsqdif
92 loopl:
DO l=llmh-1,2,-1
94 delt = t(i,j,l-1)-t(i,j,l)
95 dz = d50*(zint(i,j,l-1)-zint(i,j,l+1))
98 IF ((tlapse(l)<crtlap).AND.(pm<pstart))
THEN
99 IF (l == 2 .AND. tlapse(l) < crtlap) goto 15
106 dz2(ll) = (2./3.)*(zint(i,j,ll-2)-zint(i,j,l+1))
107 IF ((dz2(ll) > 2000.) .AND. &
108 (dz2(ll+1) > 2000.)) go to 15
109 delt2(ll) = t(i,j,ll-2)-t(i,j,l)
110 tlapse2(ll) = -delt2(ll)/dz2(ll)
112 IF (tlapse2(ll) > crtlap)
THEN
121 15 ptrop(i,j) = d50*(pint(i,j,l)+pint(i,j,l+1))
122 ttrop(i,j) = t(i,j,l)
123 ztrop(i,j)= 0.5*(zint(i,j,l)+zint(i,j,l+1))
125 utrop(i,j) = uh(i,j,l)
126 vtrop(i,j) = vh(i,j,l)
127 dz = zint(i,j,l)-zint(i,j,l+1)
128 rsqdif = sqrt(((uh(i,j,l-1)-uh(i,j,l+1))*0.5)**2 &
129 & +((vh(i,j,l-1)-vh(i,j,l+1))*0.5)**2)
130 shtrop(i,j) = rsqdif/dz
137 dz = d50*(zint(i,j,2)-zint(i,j,3))
138 ptrop(i,j) = d50*(pint(i,j,2)+pint(i,j,3))
139 ttrop(i,j) = t(i,j,2)
140 ztrop(i,j)= d50*(zint(i,j,2)+zint(i,j,3))
141 utrop(i,j) = uh(i,j,2)
142 vtrop(i,j) = vh(i,j,2)
143 rsqdif = sqrt(((uh(i,j,1)-uh(i,j,3))*0.5)**2 &
144 & +((vh(i,j,1)-vh(i,j,3))*0.5)**2)
145 shtrop(i,j) = rsqdif/dz