mergeNC.Rd
Merge multiple NetCDF files into one
mergeNC(files, outfile)
https://github.com/RS-eco/processNC/blob/main/R/mergeNC.R
A NetCDF file containing all of the merged data.
if (FALSE) { # \dontrun{
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)
} # }