Description Usage Arguments Details Author(s)
View source: R/aggregateOperations.R
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.
1 2 | aggregateTo.seasonal(obj, all.stations = TRUE, sta_type = "AWS",
var_id = "RD", sta_id = NULL)
|
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) |
Calculate seasonal sums
When data availability is below 80
Jurian and Lotte
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.