metaextract: Function to extract the metadata from local NetCDF files

View source: R/metaextract.R

metaextractR Documentation

Function to extract the metadata from local NetCDF files

Description

The function metaextract extracts metadata from local NetCDF files containing climate model data from the CORDEX and CMIP projects. The function metaextract redirects to metaextract.cordex or metaextract.cmip depending on the project id.

Usage

metaextract(
  files.in,
  file.out = "meta.rda",
  path.in = NULL,
  path.out = NULL,
  add = TRUE,
  force = FALSE,
  verbose = FALSE
)

Arguments

files.in

Filenames of netcdf files

file.out

Filename of .rda file where the metadata will be saved

path.in

Path to files.in

path.out

Path to file out

add

If TRUE, add metadata to the existing metadata file. If FALSE create a new metadata file.

force

If TRUE, replace metadata of files that that are already in the existing metadata. If FALSE only add metadata for new files.

verbose

if TRUE print information about progress

See Also

getncid


metno/esd documentation built on April 29, 2024, 3:34 p.m.