Go to the source code of this file.
|
subroutine | rinvmod (TRPVAL, X0, Y0, XX, YY, NOBS, VARBL) |
|
subroutine | rinvmold (TRPVAL, X0, Y0, XX, YY, NOBS, VARBL) |
|
subroutine rinvmod |
( |
|
TRPVAL, |
|
|
|
X0, |
|
|
|
Y0, |
|
|
real, dimension(nsites) |
XX, |
|
|
real, dimension(nsites) |
YY, |
|
|
|
NOBS, |
|
|
real, dimension(nsites) |
VARBL |
|
) |
| |
Definition at line 3 of file invwt.f.
Referenced by betwin(), flowht(), sfctrp(), and vrsdis().
21 REAL varbl(nsites),xx(nsites),yy(nsites)
30 ELSE IF (nobs.EQ.0)
THEN
31 WRITE (*,*)
'SOMETHING WRONG -- NOBS= ',nobs
37 IF (nobs.GT.nsites)
THEN
38 WRITE (*,*)
'TOO MANY OBS IN RM2MOD; USING 1ST ',nsites
51 rmax=sqrt(float(nxgrd**2+nygrd**2))
72 rad=rmin+float(nr)*rstep
75 IF (nint(varbl(iob)).NE.-9999)
THEN
76 r2=(x0-xx(iob))**2+(y0-yy(iob))**2
81 IF (nr.EQ.0 .AND. r2.LE.r2test)
THEN
83 wt=
wndwt(x0,y0,xx(iob),yy(iob))
86 ELSE IF (r2.LE.r2test .AND. r2.GT.r2past)
THEN
88 wt=
wndwt(x0,y0,xx(iob),yy(iob))
98 IF (nr.EQ.0 .AND. sumwt .GT. 0.0)
THEN
105 ELSE IF (ncase .GE. 15)
THEN
116 IF (sumwt.GT.0.0)
THEN
120 WRITE (*,*)
'SOMETHING WRONG -- NCASE= ', ncase
real function wndwt(X, Y, XOBS, YOBS)
subroutine rinvmold |
( |
|
TRPVAL, |
|
|
|
X0, |
|
|
|
Y0, |
|
|
real, dimension(nsites) |
XX, |
|
|
real, dimension(nsites) |
YY, |
|
|
|
NOBS, |
|
|
real, dimension(nsites) |
VARBL |
|
) |
| |
Definition at line 128 of file invwt.f.
Referenced by betpar().
143 parameter(npts=nsites)
145 REAL varbl(nsites),xx(nsites),yy(nsites)
149 IF (nobs.GT.1 .AND. nobs.LE. nsites)
THEN
154 wt=
wndwt(x0,y0,xx(iob),yy(iob))
155 sum=sum+wt*varbl(iob)
160 ELSE IF (nobs.EQ.1)
THEN
163 ELSE IF (nobs.GT.nsites)
THEN
164 WRITE (*,*)
'TOO MANY OBS IN RM2MOLD '
166 ELSE IF (nobs.EQ.0)
THEN
167 WRITE (*,*)
'SOMETHING WRONG IN RM2MOLD -- NOBS= ',nobs
real function wndwt(X, Y, XOBS, YOBS)