aggregateTo.88: Aggregate hourly data to daily from 8am to 8am the next day

Description Usage Arguments Details Author(s)

Description

Rain is measured hourly in the automatic weather stations, this needs to be converted to sums from 8 am to 8 am on the next day.

Usage

1
2
aggregateTo.88(obj, all.stations = TRUE, sta_type = "AWS", var_id = "RH",
  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 "RH" for hourly rainfall.

sta_id

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

Details

Daily aggeration

Author(s)

Lotte, Jurian & Hidde


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