SUBROUTINE MWERMS (BIAS, STD, f, v, w, ni, nj, iw1, iw2, nw1, nw2)
ARGUMENTS
OUT
BIAS mean weighted error real
STD r.m.s. deviation from the mean real
IN
F(NI,NJ) forecast field real
V(NI,NJ) verifying field real
W(NI,NJ) weight field (set to 1's if weighting not
wanted) real
NI x-dimension of arrays F, V and W integer
NJ y-dimension of arrays F, V 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 F, V and W
| |
| |
| |
+-------------+
(1,1) (NI,1)
DESCRIPTION
Given a forecast, a verification, a weight field and the coordinates of the window, computes the mean weighted error and the weighted r.m.s. deviation from the mean.
EXAMPLE
Number 1
SEE ALSO
corcof, s1scor, windv
Return to RPN home page