View source: R/summariseRast.R
summariseRast | R Documentation |
Aggregate spatio-temporal measurements of one raster stack with daily layers for multiple years to a raster stack with monthly layers
summariseRast(
files = files,
startdate = NA,
enddate = NA,
ext = NA,
var,
filename1 = "",
filename2 = "",
overwrite = FALSE
)
files |
|
startdate |
|
enddate |
|
ext |
|
var |
|
filename1 |
|
filename2 |
|
overwrite |
|
A numeric
raster stack with monthly layers of
aggregated data over specificed time period and area.
files <- list.files(paste0(system.file(package="processNC"), "/extdata"),
pattern="tas.*\\.nc", full.names=TRUE)
summariseRast(files=files[4], startdate=2001, enddate=2010, var="tas")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.