The arithmetic mean value of 30 days observations M is calculated. Day d is the date 15 days prior to present. Daily station specific normal values is extracted from the climate database. The value M' is the normal value of day d.
Corresponding values at three neighbour stations are Mn1, Mn2, Mn3. Corresponding reference normal value at three neighbour stations are Mn'1, Mn'2, Mn'3.
An error is detected when
| M - M' | > tol1
and at least two of the three following inequalities are satisfied
| Mn1 - Mn'1 | < tol1
| Mn2 - Mn'2 | < tol1
| Mn3 - Mn'3 | < tol1
where tol1 is a tolerance value
It shall be possible to run the algorithm for
CONTROLINFO AND/OR USEINFO
TYPEID, OTHER METADATA
SPECIFICATION OF CONTROLFLAGS TO BE SET FOR EXPECTED RESULTS OF THE ALGORITHM, I.E. CONSIDER BOTH POSITIVE AND NEGATIVE RESULTS
EXPECTIONS OF THE USEINFO FLAGS CORRESPONDING TO CONTROLINFO FLAG SETTINGS