23 SUBROUTINE w3ft17(ALOLA,BTHIN,INTERP)
28 REAL ALOLA(95,91), BTHIN(NPTS), ERAS(NPTS,4)
29 REAL W1(NPTS), W2(NPTS)
30 REAL XDELI(NPTS), XDELJ(NPTS)
31 REAL XI2TM(NPTS), XJ2TM(NPTS)
34 INTEGER IV(NPTS), JV(NPTS), JY(NPTS,4)
35 INTEGER IM1(NPTS), IP1(NPTS), IP2(NPTS)
46 DATA sep /1.250, 1.250, 1.250, 1.250, 1.250, 1.250,
47 & 1.250, 1.250, 1.268, 1.268, 1.268, 1.286,
48 & 1.286, 1.286, 1.304, 1.304, 1.324, 1.324,
49 & 1.343, 1.364, 1.364, 1.385, 1.406, 1.406,
50 & 1.429, 1.452, 1.475, 1.500, 1.525, 1.525,
51 & 1.552, 1.579, 1.607, 1.636, 1.667, 1.698,
52 & 1.765, 1.800, 1.837, 1.875, 1.915, 1.957,
53 & 2.045, 2.093, 2.143, 2.195, 2.308, 2.368,
54 & 2.432, 2.571, 2.647, 2.813, 2.903, 3.103,
55 & 3.214, 3.333, 3.600, 3.750, 4.091, 4.286,
56 & 4.737, 5.000, 5.625, 6.000, 6.923, 8.182,
57 & 9.000,11.250,12.857,18.000,22.500,45.000,
62 DATA npt / 73, 73, 73, 73, 73, 73,
63 & 73, 73, 72, 72, 72, 71,
64 & 71, 71, 70, 70, 69, 69,
65 & 68, 67, 67, 66, 65, 65,
66 & 64, 63, 62, 61, 60, 60,
67 & 59, 58, 57, 56, 55, 54,
68 & 52, 51, 50, 49, 48, 47,
69 & 45, 44, 43, 42, 40, 39,
70 & 38, 36, 35, 33, 32, 30,
71 & 29, 28, 26, 25, 23, 22,
72 & 20, 19, 17, 16, 14, 12,
77 IF (interp.EQ.1) lin = .true.
79 IF (iswt.EQ.1)
GO TO 900
83 xjou = (j-1) * 1.25 + 1.0
88 w1(ijout) = (i-1) * rdglat + 3.0
101 IF (interp.EQ.intrpo)
GO TO 2100
108 xdeli(k) = w1(k) - iv(k)
109 xdelj(k) = w2(k) - jv(k)
122 xi2tm(k) = xdeli(k) * (xdeli(k) - 1.0) * .25
123 xj2tm(k) = xdelj(k) * (xdelj(k) - 1.0) * .25
131 IF (jv(kk).LT.2.OR.jv(kk).GE.90) xj2tm(kk) = 0.0
139 IF (jy(kk,3).GT.91) jy(kk,3) = 91
144 IF (jy(kk,1).LT.1) jy(kk,1) = 1
145 IF (jy(kk,4).GT.91) jy(kk,4) = 91
155 eras(kk,2) = (alola(ip1(kk),jy(kk,2))-alola(iv(kk),jy(kk,2)))
156 & * xdeli(kk) + alola(iv(kk),jy(kk,2))
157 eras(kk,3) = (alola(ip1(kk),jy(kk,3))-alola(iv(kk),jy(kk,3)))
158 & * xdeli(kk) + alola(iv(kk),jy(kk,3))
162 bthin(kk) = eras(kk,2) + (eras(kk,3) - eras(kk,2))
171 eras(kk,1)=(alola(ip1(kk),jy(kk,1))-alola(iv(kk),jy(kk,1)))
172 & * xdeli(kk) + alola(iv(kk),jy(kk,1)) +
173 & ( alola(im1(kk),jy(kk,1)) - alola(iv(kk),jy(kk,1))
174 & - alola(ip1(kk),jy(kk,1))+alola(ip2(kk),jy(kk,1)))
176 eras(kk,2)=(alola(ip1(kk),jy(kk,2))-alola(iv(kk),jy(kk,2)))
177 & * xdeli(kk) + alola(iv(kk),jy(kk,2)) +
178 & ( alola(im1(kk),jy(kk,2)) - alola(iv(kk),jy(kk,2))
179 & - alola(ip1(kk),jy(kk,2))+alola(ip2(kk),jy(kk,2)))
181 eras(kk,3)=(alola(ip1(kk),jy(kk,3))-alola(iv(kk),jy(kk,3)))
182 & * xdeli(kk) + alola(iv(kk),jy(kk,3)) +
183 & ( alola(im1(kk),jy(kk,3)) - alola(iv(kk),jy(kk,3))
184 & - alola(ip1(kk),jy(kk,3))+alola(ip2(kk),jy(kk,3)))
186 eras(kk,4)=(alola(ip1(kk),jy(kk,4))-alola(iv(kk),jy(kk,4)))
187 & * xdeli(kk) + alola(iv(kk),jy(kk,4)) +
188 & ( alola(im1(kk),jy(kk,4)) - alola(iv(kk),jy(kk,4))
189 & - alola(ip1(kk),jy(kk,4))+alola(ip2(kk),jy(kk,4)))
194 bthin(kk) = eras(kk,2) + (eras(kk,3) - eras(kk,2))
195 & * xdelj(kk) + (eras(kk,1) - eras(kk,2)
196 & - eras(kk,3) + eras(kk,4)) * xj2tm(kk)