"dataclim"
new("dataclim", date, tmin, tmax, prec, basePeriod, convertFlaggedToNA, ...)
, although createDataclim
is more handy. Dataclim objects contain monthly and annual aggregates of daily
input data after after Qualitiy Control (QC) and padded with NA to
ensure complete calendar year coverage. Suspect entries are flagged. The QC follows closely the Algorithm Theoretical Basis Document (ATBD)
of the European Climate Assessment & Dataset project (ECA&D), hosted
by the Dutch meteorological service KNMI. Currently, only QCs for
temperature and precipitation are implemented.basePeriod
:"numeric"
. A vector
of years. Temperature QC evaluates the deviation from the mean annual
cycle computed over these years. flagged
:"list"
. A list with
components of each variable, containing the (row-) indices of suspect days
according to the QC of the respective variable. flaggedData
:"zoo"
from package
zoo
. A zoo containing all days where QC detected
something. data
:"zoo"
. Daily data, where
suspect entries are set to NA (if convertFlaggedToNA
is TRUE). monthlyAvg
, monthlyMin
,
monthlyMax
:"zoo"
. Monthly aggregates
of the daily data for months with not more than three NA
days. Precipitation in monthlyAvg
is given as sums.annualAvg
, annualMin
, annualMax
:"zoo"
. Annual aggregates of the above monthly
data. Only years with non-missing monthly data are considered here.convertFlaggedToNA
:signature(.Object = "dataclim")
:
Constructor of a dataclim object. Performs QC and fills the
slots.signature(object = "dataclim")
: Nice display.signature(object = "dataclim")
: Computes
summary statistics from a dataclim objects: means, standard
deviations, annual cycles of monthly averages, minimum and maximum
and annual and monthly trends (slope and p-value). These
statistics are computed over the years given in the optional basePeriod
vector (defaults to the basePeriod
-slot of the
dataclim
object).