plot_decimals: Plot decimals

Description Usage Arguments Details Note Author(s) References Examples

View source: R/decade.R

Description

Plot year-by-year distribution of the decimals in order to investigate the actual reporting resolution.

Usage

1
plot_decimals(Data, outfile = NA, startyear = NA, endyear = NA)

Arguments

Data

A character string giving the path of the input file, or a 5 or 7-column matrix (depending on data type) with following columns: variable code, year, month, day, (hour), (minute), value.

outfile

Character string giving the path of the output pdf file. By default a file named after the analysed variable is created in the working directory.

startyear

First year to plot. If not indicated, all available years until endyear will be plotted.

endyear

Last year to plot. If not indicated, all available years since startyear will be plotted.

Details

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

Only the first digit after the decimal point is analysed. If there is more than one digit, the data will be rounded to the first decimal place.

Note

For precipitation and other bounded variables one needs to remove the values at the boundaries from the input data (e.g., zeros for precipitation).

Author(s)

Stefan Hunziker, Yuri Brugnara

References

Hunziker et al., 2017: Identifying, attributing, and overcoming common data quality issues of manned station observations. Int. J. Climatol, 37: 4131-4145.

Hunziker et al., 2018: Effects of undetected data quality issues on climatological analyses. Clim. Past, 14: 1-20.

Examples

1

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