daily_repetition: Daily repetition test

Description Usage Arguments Details Author(s) Examples

View source: R/C3FURV.R

Description

Report occurrences of equal consecutive values in daily data.

Usage

1
daily_repetition(dailydata, meta = NULL, outpath = getwd(), n = 4)

Arguments

dailydata

A character string giving the path of the input file, or a 5-column matrix with following columns: variable code, year, month, day, and the daily value.

meta

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

outpath

Character string giving the path for the QC results. By default this is the working directory.

n

Number of minimum equal consecutive values required for a flag. The default is 4.

Details

The input file must follow the Copernicus Station Exchange Format (SEF).

Zeroes are automatically excluded in bounded variables such as precipitation.

Author(s)

Alba Gilabert, Yuri Brugnara

Examples

1
daily_repetition(Rosario$Tx, Meta$Tx, n = 3)

C3S-Data-Rescue-Lot1-WP3/C3S-QC documentation built on Jan. 15, 2020, 10:36 p.m.