32 SUBROUTINE w3fa03v(PRESS,HEIGHT,TEMP,THETA,N)
42 DATA g/9.80665/,rstar/8314.32/,m0/28.9644/,piso/54.7487/,
43 $ ziso/20000./,salp/-.0010/,pzero/1013.25/,t0/288.15/,alp/.0065/,
44 $ ptrop/226.321/,tstr/216.65/
56 IF (press(j).LT.piso)
THEN
60 height(j) = ((tstr/(pp01 * salp )) * (pp01-(press(j) ** ar1)))
62 temp(j) = tstr - ((height(j) - ziso) * salp)
64 ELSE IF (press(j).GT.ptrop)
THEN
66 height(j) = (t0/(pp0 * alp)) * (pp0 - (press(j) ** ar))
67 temp(j) = t0 - (height(j) * alp)
73 height(j) = 11000.0 + (fkt * alog(ptrop/press(j)))
77 theta(j) = temp(j) * ((1000./press(j))**rovcp)
subroutine w3fa03v(press, height, temp, theta, n)
Computes the standard height, temperature, and potential temperature given the pressure in millibars ...