plot_decimals | R Documentation |
Plot year-by-year distribution of the decimals in order to investigate the actual reporting resolution.
plot_decimals(Data, outfile, startyear = NA, endyear = NA)
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. |
startyear |
First year to plot. If not indicated, all available years
until |
endyear |
Last year to plot. If not indicated, all available years
since |
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.
For precipitation and other bounded variables one needs to remove the values at the boundaries from the input data (e.g., zeros for precipitation).
Stefan Hunziker, Yuri Brugnara
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.
plot_decimals(Rosario$Tx, outfile = paste0(tempdir(),"/test.pdf"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.