35 SUBROUTINE trpaus(PTROP,TTROP,ZTROP,UTROP,VTROP,SHTROP)
52 parameter(crtlap=0.002e0, pstart=5.0e4)
56 REAL PTROP(ISTA:IEND,JSTA:JEND),TTROP(ISTA:IEND,JSTA:JEND),ZTROP(ISTA:IEND,JSTA:JEND),UTROP(ISTA:IEND,JSTA:JEND)
57 REAL VTROP(ISTA:IEND,JSTA:JEND),SHTROP(ISTA:IEND,JSTA:JEND)
58 REAL TLAPSE(LM),DZ2(LM),DELT2(LM),TLAPSE2(LM)
61 real PM,DELT,DZ,RSQDIF
93 loopl:
DO l=llmh-1,2,-1
95 delt = t(i,j,l-1)-t(i,j,l)
96 dz = d50*(zint(i,j,l-1)-zint(i,j,l+1))
99 IF ((tlapse(l)<crtlap).AND.(pm<pstart))
THEN
100 IF (l == 2 .AND. tlapse(l) < crtlap) goto15
107 dz2(ll) = (2./3.)*(zint(i,j,ll-2)-zint(i,j,l+1))
108 IF ((dz2(ll) > 2000.) .AND. &
109 (dz2(ll+1) > 2000.))
GO TO 15
110 delt2(ll) = t(i,j,ll-2)-t(i,j,l)
111 tlapse2(ll) = -delt2(ll)/dz2(ll)
113 IF (tlapse2(ll) > crtlap)
THEN
122 15 ptrop(i,j) = d50*(pint(i,j,l)+pint(i,j,l+1))
123 ttrop(i,j) = t(i,j,l)
124 ztrop(i,j)= 0.5*(zint(i,j,l)+zint(i,j,l+1))
126 utrop(i,j) = uh(i,j,l)
127 vtrop(i,j) = vh(i,j,l)
128 dz = zint(i,j,l)-zint(i,j,l+1)
129 rsqdif = sqrt(((uh(i,j,l-1)-uh(i,j,l+1))*0.5)**2 &
130 & +((vh(i,j,l-1)-vh(i,j,l+1))*0.5)**2)
131 shtrop(i,j) = rsqdif/dz
138 dz = d50*(zint(i,j,2)-zint(i,j,3))
139 ptrop(i,j) = d50*(pint(i,j,2)+pint(i,j,3))
140 ttrop(i,j) = t(i,j,2)
141 ztrop(i,j)= d50*(zint(i,j,2)+zint(i,j,3))
142 utrop(i,j) = uh(i,j,2)
143 vtrop(i,j) = vh(i,j,2)
144 rsqdif = sqrt(((uh(i,j,1)-uh(i,j,3))*0.5)**2 &
145 & +((vh(i,j,1)-vh(i,j,3))*0.5)**2)
146 shtrop(i,j) = rsqdif/dz