SUBROUTINE CORCOF (CC, fi, ff, fv, w, ni, nj, iw1, iw2, nw1, nw2)
ARGUMENTS
OUT
CC correlation coefficient real
IN
FI(NI,NJ) initial field real
FF(NI,NJ) forecast field real
FV(NI,NJ) verifying field real
W(NI,NJ) weight field real
NI x-dimension of arrays FI,FF,FV and W integer
NJ y-dimension of arrays FI,FF,FV 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 FI,FF,FV,W
| |
| |
| |
+-------------+
(1,1) (NI,1)
DESCRIPTION
Finds the correlation coefficient given an initial field, a forecast, a verifying field and an index window.
EXAMPLE
Number 1
SEE ALSO
mwerms, s1scor, windv
Return to RPN home page