
Precipitation quality-control result
precipQC-class.RdPrint and plot methods for objects returned by precipQC,
precipQC_daily, and precipQC_subdaily.
Arguments
- x
An object of class
"precipQC".- max.stations
Maximum number of stations displayed in the missing/suspicious percentage panel. Stations with the largest suspicious and missing fractions are shown.
- col
At least three colours for accepted stations, discarded/rejected values, and missing/review flags.
- ...
For
plot, additional arguments passed to the final timelineplotcall. Ignored byprint.
Details
The plot contains four panels: numbers of accepted and discarded stations; missing and confirmed-suspicious percentages for the most affected stations; flag counts by individual test; and the number of confirmed suspicious values through time.
The station.summary$suspicious.tests column lists the point-level tests
that flagged at least one confirmed suspicious observation at each station.
When a station exceeds max.suspicious, the same names are appended to
its recommendation reason. Review-only flags are not included. These
diagnostics are also propagated to accepted.metadata and
discarded.metadata.
Because an unquoted hyphen is the subtraction operator in R, use
?precipQC_class, ?`precipQC-class`, or
help("precipQC-class") to open this page.
Value
Both methods return x invisibly. The print method writes a compact
summary to the console and the plot method draws on the active graphics
device.
Author
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com