dailyMeans: Aggregates sub-daily raster time series to daily means.

Description Usage Arguments Value Examples

Description

dailyMeans aggregates raster based time series (RasterBrick or RasterStack object, see: Raster-class) on a sub-daily basis by computing the respective daily mean values for each raster cell.

Usage

1
dailyMeans(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 mean 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.