aggRaster: aggRaster

Description Usage Arguments Value Examples

View source: R/aggRaster.R

Description

Aggregate raster bricks from daily to monthly in parallel

Usage

1
aggRaster(x, func = "mean", inmem = FALSE, outdir = getwd(), ...)

Arguments

x,

Raster* object

func,

character, 'mean' or ,'sum'

inmem,

logical, if FALSE the result will be stored as a netCDF file

outdir,

character, directory path where the output will be stored if inmem=FALSE

...

additional arguments as for writeRaster, must include varnam,longname, an varunit

Value

Rasterbrick object with monthly z time dimension

Examples

1
2
*optional run beginCluster() first, for parallel computing
aggRaster()	

dsval/splashTools documentation built on Jan. 9, 2021, 2:46 a.m.