utinit.nc: Initialize the UDUNITS Library

Description Usage Arguments Details Author(s) References Examples

View source: R/RNetCDF.R

Description

Initialize the UDUNITS library.

Usage

1
utinit.nc(path="")

Arguments

path

Path to a units file containing initializing unit definitions.

Details

This function initializes the UDUNITS library. It is called by .First.lib when the package is loaded. Normally, the user does not need to call this function.

If path is non-NULL and not empty, then it specifies a units file containing initializing unit definitions; otherwise, the environment variable UDUNITS_PATH is checked and, if it exists and is not empty, then it is assumed to contain the pathname of the units file; otherwise, a compile-time default pathname is used.

Author(s)

Pavel Michna

References

http://www.unidata.ucar.edu/software/udunits/

Examples

1
2
##  NOTE: The user will normally never need to call this function
utinit.nc()

RNetCDF documentation built on May 2, 2019, 6:12 p.m.