Learn R Programming

ncdf.tools (version 0.7.1.295)

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

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

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