readNcdf: readNcdf

Description Usage Arguments Details Value Author(s)

View source: R/readNcdf.R

Description

fast reading of a single variable netCDF file into an array

Usage

1
readNcdf(file.name, var.name = c(), isAttachingUnit = TRUE)

Arguments

file.name

character string: name of the ncdf file file to read the data from.

var.name

scalar string: name of the variable to extract. If not supplied, this is tried to be determined with readNcdfVarName().

isAttachingUnit

set to FALSE to not try reading unit

Details

Convenience function to automatically read in data from a ncdf file without specifying variable names and opening file connections.

Value

(multidimensional) array: data from the ncdf file. With unit in attribute units and if package units is there as unidata unit

Author(s)

Jannis v. Buttlar, Thomas Wutzler


bgctw/ncdfTools documentation built on Jan. 29, 2020, 1:16 p.m.