View source: R/get_inventory.R
get_inventory | R Documentation |
Returns a data.table with information by splitting the netcdf files into their components (GCM, RCM, variable, experiment, ...) and aggregates over years.
get_inventory(path, add_files = TRUE)
path |
Path that will be searched recursively for .nc files. |
add_files |
Boolean (default |
A data.table with the inventory information.
check_inventory
for performing some checks.
# some empty example files
fn_zip <- system.file("extdata", "inv-test-files.zip", package = "eurocordexr")
tmpdir <- tempdir()
unzip(fn_zip, exdir = tmpdir)
dat_inv <- get_inventory(fs::path(tmpdir, "testdata", "mixed-vars"))
print(dat_inv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.