24 SUBROUTINE w3ft02 (RAIN, IMAX, JMAX, PI, PJ, AMOUNT)
34 IF(pi.LE.1.OR.pi.GE.imax)
GO TO 150
35 IF(pj.LE.1.OR.pj.GE.jmax)
GO TO 150
54 IF(amax1(r1,r2,r3,r4).LE.0.)
GO TO 150
95 GO TO (11, 12, 13, 14), ic
127 IF(r.LE.0.)
GO TO 150
134 GO TO (21, 22, 23, 24), ic
146 IF(rc.GT. 0.)
GO TO 130
147 amount = r - r*(rx-x)/x
150 amount = r + (0.5*(r+rc)-r)*(rx-x)/x
156 aa = amax1(rr, rt, rd)
157 IF(aa.GT.0.)
GO TO 30
163 IF(rr.GT.0.)
GO TO 32
167 IF(rt.GT.0.)
GO TO 34
173 IF(rd.GT.0.)
GO TO 36
177 rtd = 0.5 * (rt + rd)
181 IF(rd.GT.0.)
GO TO 38
185 rrd = 0.5 * (rd + rr)
188 rd = 0.25 * (rs + ru + rtd + rrd)
189 IF(rs.LE.0. .AND. rtd.LE.0.) rd = 0.
190 IF(ru.LE.0..AND.rrd.LE.0.) rd=0.
191 ru = ru + (rd-ru) * (ai-x)/x
193 r = r + (rs-r) * (ai-x)/x
194 amount = r + (ru-r) * (aj-x)/x
subroutine w3ft02(rain, imax, jmax, pi, pj, amount)
Interpolate, using a fancy non-linear method, gridded quantitative precipitation forecasts to a speci...