27 SUBROUTINE w3fa03(PRESS,HEIGHT,TEMP,THETA)
33 DATA g/9.80665/,rstar/8314.32/,m0/28.9644/,piso/54.7487/,
34 $ ziso/20000./,salp/-.0010/,pzero/1013.25/,t0/288.15/,alp/.0065/,
35 $ ptrop/226.321/,tstr/216.65/
43 IF(press.LT.piso)
GO TO 100
44 IF(press.GT.ptrop)
GO TO 200
48 height = 11000.0 + (fkt * alog(ptrop/press))
57 height = ((tstr/(pp0 * salp )) * (pp0-(press ** ar))) + ziso
58 temp = tstr - ((height - ziso) * salp)
62 height = (t0/(pp0 * alp)) * (pp0 - (press ** ar))
63 temp = t0 - (height * alp)
66 theta = temp * ((1000./press)**rovcp)
subroutine w3fa03(press, height, temp, theta)
Computes the standard height, temperature, and potential temperature given the pressure in millibars ...