dailySums: Calculates cumulative precipitation raster time series.

Description Usage Arguments Value Examples

Description

dailySums computes total daily sums of a raster based time series (RasterBrick or RasterStack object, see: Raster-class) on a sub-daily basis by computing the sum of each raster cell for a specified temporal resolution. In principle, this function can be used in order to compute any aggregate value that is based on sums.

Usage

1
dailySums(variable, cores = 10, timedate, clcall = NULL)

Arguments

variable

A RasterBrick or RasterStack object with values on a sub-daily resolution.

cores

The number of cores to be used in parallel computing.

timedate

A POSIXct vector containing the time information for each band/layer of variable.

clcall

A function passed to clusterCall.

Value

A list with the first element representing the aggregated raster time series with daily summed values as a RasterBrick and the second element a POSIXct vector containing the date information (i.e. the days).

Examples

1
#

henningte/herdersWDA documentation built on May 16, 2019, 3:11 p.m.