aggregateTo.seasonal: Aggregate 8am to 8am data to yearly sums and seasonal sums

Description Usage Arguments Details Author(s)

View source: R/aggregateOperations.R

Description

Since the variability is seasonal dependent we would like to be able to compare certain seasons only. The function takes the R object, calculates aggregates and returns this in the object, included updated meta data.

Usage

1
2
aggregateTo.seasonal(obj, all.stations = TRUE, sta_type = "AWS",
  var_id = "RD", sta_id = NULL)

Arguments

obj

The R object containing all timeseries and metadata

all.stations

default is "TRUE" means all stations are aggregated. If all.stations = FALSE, an array of sta_ID needs to be provided.

sta_type

default is "AWS", but could be extended to for instance "WOW" in the future.

var_id

default is "RD" for daily rainfall.

sta_id

defines the string of sta_id's that need to be aggregated. Only applies when all.stations = FALSE. #@example aggregated.seasonal <- aggregate.to.seasonal(obj)

Details

Calculate seasonal sums

When data availability is below 80

Author(s)

Jurian and Lotte


KNMI/Hackathon-RDWD-QualityMonitoring documentation built on May 23, 2019, 10:33 p.m.