aggRaster | R Documentation |
Aggregate raster bricks from daily to monthly in parallel
aggRaster(x, func = "mean", inmem = FALSE, outdir = getwd(), ...)
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 |
Rasterbrick object with monthly z time dimension
*optional run beginCluster() first, for parallel computing aggRaster()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.