help_aggrP: Aggregate precipitation data.

Description Usage Arguments Value Author(s) Examples

Description

Daily aggregation of precipitation data. Native data time resolution is sub-daily.

Usage

1
help_aggrP(P, perc_thresh = 0.1)

Arguments

P

zoo object, subdaily precipitation data in mm

perc_thresh

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

Value

zoo object, containing quality daily precipitation 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
P <- eses1$Precip
# aggregate precipitation, convert to daily sum
P <- help_aggrP(P = P, perc_thresh = .1)
# plot time series
plot(P)

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