My task is to get multiple similar NetCDF (.nc
) files from a folder and stack one a
variable out of 10 variables.
I used:
a <- list.files(path=ncpath, pattern = "nc$", full.names = TRUE)
This gets me all the files with .nc
extenstion.
How to proceed for the second task?
I want this variable a
from these number of files in a folder and stack them.