wmo_gross_errors {dataresqc}R Documentation

WMO Gross Errors Tests for Pressure, Temperature, Dew Point, and Wind Speed.

Description

Applicable to a series (daily or sub-daily) of air pressure, air temperature (ta), dew point temperature (td), wind speed (w). The pressure series can be at mean sea level (mslp) or at station level (p). Flags the records where the observations values exceed the limit values given by WMO (1993).

Usage

wmo_gross_errors(series, meta = NULL, outpath)

Arguments

series

A character string giving the path of the SEF file, or a five or seven-column (daily or subdaily) data frame with the series.

meta

A character vector with 6 elements: station ID, latitude, longitude, altitude, variable code, units. If series is a path, meta is ignored.

outpath

Character string giving the path for the QC results.

Details

Input:

The WMO gross error limits for air pressure, air temperature, dew point temperature, and wind speed:

Output:

Author(s)

Clara Ventura, Yuri Brugnara

References

WMO, 1993: Chapter 6 - Quality Control Procedures. Guide on the Global Data-processing System, World Meteorological Organization, Geneva, No. 305, VI.1-VI.27, ISBN 92-63-13305-0.

Examples

wmo_gross_errors(series = Rosario$p, meta = Meta$p[which(Meta$p$id=="Rosario"),],
                 outpath = tempdir())
wmo_gross_errors(series = Rosario$ta, meta = Meta$ta[which(Meta$p$id=="Rosario"),],
                 outpath = tempdir())
wmo_gross_errors(series = Rosario$td, meta = Meta$td, outpath = tempdir())


[Package dataresqc version 1.1.1 Index]