checkNcdfFile: check netCDF file for consistency with CF/COARDS/BGI netCDF...

Description Usage Arguments Value Author(s)

View source: R/checkNcdfFile.R

Description

This function checks whether a netCDF file is consistent with the parts of the COARDS/CF netCDF conventions used in the BGI department (MPI for Biogeochemistry, Jena, Germany).

Usage

1
2
checkNcdfFile(file.name, dims = c("longitude", "latitude", "time"), 
    type = "strict", var.check = "single")

Arguments

file.name

character string: file name to check

dims

vector of strings: names of the dimensions which need to be in the file.

type

character string: if 'strict', then all aspects are checked. If this is any other value, only aspects relevant for the processing of decomp.ncdf are checked.

var.check

character string: If 'single', then readNcdfVarName is used to infer the name of the variable in the target file which will then be checked,

Value

logical: (invisible) whether the file passed the check

Author(s)

Jannis v. Buttlar


ncdf.tools documentation built on May 2, 2019, 5:16 p.m.