summariseNC | 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
summariseNC(
files,
startdate = NA,
enddate = NA,
ext = NA,
group_col = c("year", "month"),
name = NA,
cores = NA,
filename1 = "",
filename2 = "",
overwrite = FALSE
)
files |
|
startdate |
|
enddate |
|
ext |
|
group_col |
|
name |
|
cores |
|
filename1 |
|
filename2 |
|
overwrite |
|
A raster stack with monthly layers of aggregated data over the specified time period and area.
[aggregateNC]
files <- list.files(paste0(system.file(package="processNC"), "/extdata"),
pattern="tas.*\\.nc", full.names=TRUE)
summariseNC(files=files[4], group_col=c("year", "month"),
startdate=2001, enddate=2010, cores=1)
summariseNC(files=files[4], group_col=c("year", "week"),
startdate=2001, enddate=2010, cores=1)
summariseNC(files=files[4], group_col="year",
startdate=2001, enddate=2010, cores=1)
summariseNC(files=files[4], group_col="month",
startdate=2001, enddate=2010, cores=1)
summariseNC(files=files[4], group_col="week",
startdate=2001, enddate=2010, cores=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.