help_aggrT: Aggregate air temperature data.

Description Usage Arguments Value Author(s) Examples

Description

Daily aggregation of air temperature data to mean, minimum and maximum air temperature. Native data time resolution is sub-daily.

Usage

1
help_aggrT(Ta, perc_thresh = 0.1)

Arguments

perc_thresh

threshold (percentage of NAs [0;1]) defining if specific day fulfills data quality

P

zoo object, subdaily precipitation data in mm

fun

aggregation function, e.g. min, max, mean, etc.

Value

zoo object, containing quality daily air temperature data

Author(s)

Johannes Brenner johannes.brenner@ufz.de

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(zoo)
library(chron)
# load eddy covariance data
data(eses1)
# extract precipitation
Ta <- eses1$Ta
# aggregate air temperature, convert to min, max, mean air temperature
Ta <- help_aggrTa(Ta = Ta, perc_thresh = .1, fun=c(min, mean, max))
# plot time series
plot(Ta)

JBrenn/Helper4me documentation built on May 7, 2019, 6:49 a.m.