aggRaster: aggRaster

View source: R/aggRaster.R

aggRasterR Documentation

aggRaster

Description

Aggregate raster bricks from daily to monthly in parallel

Usage

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

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

dsval/splashTools documentation built on Jan. 26, 2023, 4:40 a.m.