Go to the source code of this file.
|
real function | degdif (A1, A2) |
|
real function | sp (UU, VV) |
|
real function | dd (UU, VV) |
|
real function | xlintr (X0, X1, Z, ZZ0, Z1) |
|
real function | tpot (PP, TT) |
|
real function | pt2t (PP, TT) |
|
real function | altset (Z, P) |
|
real function | cvt2p (ALTIM, ELEV) |
|
integer function | julmin (KYEAR, IMO, MDATE, IHOUR, IMIN) |
|
subroutine | lgntrp (Y, X0, X1, X, Y0, Y1) |
|
real function | wndwt (X, Y, XOBS, YOBS) |
|
subroutine | setint (IVALUE, IARRAY, NUM1, NUM2) |
|
subroutine | setmat (VALUE, ARRAY, NUM1, NUM2) |
|
real function altset |
( |
real |
Z, |
|
|
real |
P |
|
) |
| |
Definition at line 94 of file utils.f.
Referenced by geosig(), and strat().
103 parameter(badat=-9999.0,p0=1013.3,fact=44308.0)
104 parameter(xpon=0.19028,cv2mb=1013.25/29.921)
115 altmb=p/(1.0-(0.0065*z/288.0))**5.256
real function altset(Z, P)
real function cvt2p |
( |
real |
ALTIM, |
|
|
real |
ELEV |
|
) |
| |
Definition at line 129 of file utils.f.
Referenced by betpar(), levwnd(), putout(), and strat().
139 parameter(badat=-999.9,p0=1013.3,fact=44308.0)
140 parameter(xpon=0.19028,cv2mb=1013.25/29.921)
147 REAL altim,elev,altmb
152 cvt2p=altmb*(1.0-(0.0065*elev/288.0))**5.256
162 zstd=fact*(1.0-(
cvt2p/p0)**xpon)
163 IF (abs(zstd-elev) .GT. 450.0)
cvt2p=badat
real function cvt2p(ALTIM, ELEV)
real function dd |
( |
|
UU, |
|
|
|
VV |
|
) |
| |
Definition at line 30 of file utils.f.
Referenced by levwnd(), putout(), and tstwnd().
34 parameter(rad2d=180./3.14159)
36 IF (
sp(uu,vv).GT.0.0)
THEN
37 dd=amod(540.+ rad2d*atan2(uu,vv),360.)
real function degdif |
( |
|
A1, |
|
|
|
A2 |
|
) |
| |
Definition at line 3 of file utils.f.
Referenced by tstwnd().
real function degdif(A1, A2)
integer function julmin |
( |
integer |
KYEAR, |
|
|
integer |
IMO, |
|
|
integer |
MDATE, |
|
|
integer |
IHOUR, |
|
|
integer |
IMIN |
|
) |
| |
Definition at line 171 of file utils.f.
Referenced by wocss().
178 INTEGER lastd (12),kyear,imo,mdate,ihour,imin
180 DATA lastd /0,31,59,90,120,151,181,
181 $ 212,243,273,304,334/
186 IF (mod(kyear,4) .EQ.0. and. imo.GT.2)
THEN
191 julmin=1440*idajul+60*ihour+imin
integer function julmin(KYEAR, IMO, MDATE, IHOUR, IMIN)
subroutine lgntrp |
( |
|
Y, |
|
|
|
X0, |
|
|
|
X1, |
|
|
|
X, |
|
|
|
Y0, |
|
|
|
Y1 |
|
) |
| |
Definition at line 198 of file utils.f.
Referenced by betwin(), dopsig(), levwnd(), and sfctrp().
202 IF (x1.EQ.x0 .OR. x.EQ.x0)
THEN
204 ELSE IF (x.EQ.x1)
THEN
207 ratio = alog10(x/x0)/alog10(x1/x0)
208 y = y0 + ratio * (y1-y0)
real function pt2t |
( |
|
PP, |
|
|
|
TT |
|
) |
| |
Definition at line 80 of file utils.f.
Referenced by strat().
86 pt2t=tt*((pp/1000.)**0.288)
real function pt2t(PP, TT)
subroutine setint |
( |
|
IVALUE, |
|
|
dimension(nxgrd,nygrd) |
IARRAY, |
|
|
|
NUM1, |
|
|
|
NUM2 |
|
) |
| |
Definition at line 240 of file utils.f.
Referenced by putout().
248 dimension iarray(nxgrd,nygrd)
subroutine setmat |
( |
|
VALUE, |
|
|
dimension(nxgrd,nygrd) |
ARRAY, |
|
|
|
NUM1, |
|
|
|
NUM2 |
|
) |
| |
Definition at line 258 of file utils.f.
Referenced by bal5().
266 dimension array(nxgrd,nygrd)
real function sp |
( |
|
UU, |
|
|
|
VV |
|
) |
| |
real function tpot |
( |
|
PP, |
|
|
|
TT |
|
) |
| |
real function wndwt |
( |
|
X, |
|
|
|
Y, |
|
|
|
XOBS, |
|
|
|
YOBS |
|
) |
| |
real function xlintr |
( |
|
X0, |
|
|
|
X1, |
|
|
|
Z, |
|
|
|
ZZ0, |
|
|
|
Z1 |
|
) |
| |
Definition at line 47 of file utils.f.
Referenced by levwnd(), and strat().
54 ELSE IF (z.EQ.z1)
THEN
57 xlintr=x0+(x1-x0)*(z-zz0)/(z1-zz0)
real function xlintr(X0, X1, Z, ZZ0, Z1)