cellstatsNC | R Documentation |
Summarise spatial/spatio-temporal measurements of one or multiple NetCDF files to a raster stack or data.frame with desired spatial and temporal resolution
cellstatsNC(
files,
startdate = NA,
enddate = NA,
ext = "",
cores = NA,
filename = "",
stat = "mean"
)
files |
|
startdate |
|
enddate |
|
ext |
|
cores |
|
filename |
|
stat |
|
A dataframe with temporal values averaged over the specified area.
files <- list.files(paste0(system.file(package="processNC"), "/extdata"),
pattern="tas.*\\.nc", full.names=TRUE)
cellstatsNC(files, startdate=2000, enddate=NA, cores=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.