SUBROUTINE WINDV (RMS, fu, fv, vu, vv, w, ni, nj, iw1, iw2, nw1, nw2)
ARGUMENTS
OUT
RMS weighted r.m.s. error of vectors real
IN
FU(NI,NJ) u component of forecasted wind real
FV(NI,NJ) v component of forecasted wind real
VU(NI,NJ) u component of verifying wind real
VV(NI,NJ) v component of verifying wind real
W(NI,NJ) weight field (set to 1's if weighting not desired) real
NI x-dimension of arrays FU, FV, VU, VV and W integer
NJ y-dimension of arrays FU, FV, VU, VV and W integer
IW1 x-coordinate of bottom left corner of window integer
IW2 y-coordinate of bottom left corner of window integer
NW1 x-coordinate of upper right corner of window integer
NW2 y-coordinate of upper right corner of window integer
(1,NJ) (NI,NJ)
+-------------+
| |
| | arrays FU, FV, VU, VV and W
| |
| |
| |
+-------------+
(1,1) (NI,1)
DESCRIPTION
Given a forecast, a verification, a weight field and the coordinates of the window, computes the weighted r.m.s. error.
EXAMPLE
Number 1
SEE ALSO
corcof, mwerms, s1scor
Return to RPN home page