mergeNC | R Documentation |
Merge multiple NetCDF files into one
mergeNC(files, outfile)
files |
|
outfile |
|
A NetCDF file containing all of the merged data.
## Not run:
files <- list.files(paste0(system.file(package="processNC"), "/extdata"),
pattern="tas.*\\.nc", full.names=TRUE)
temp <- tempfile(fileext=".nc")
mergeNC(files=files, outfile=temp)
terra::rast(temp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.