utinit.nc {RNetCDF} | R Documentation |
Initialize the UDUNITS2 Library
Description
Initialize the UDUNITS2 library.
Usage
utinit.nc(path="")
Arguments
path |
Path to an XML-formatted unit-database for UDUNITS2. |
Details
This function initializes the UDUNITS2 library. It is called by .onLoad
when the package is loaded. Normally, the user does not need to call this function.
UDUNITS2 obtains a unit system by reading an XML file. The file name is given by argument path
, if it is a non-empty character string. Otherwise, the file name is taken from environment variable UDUNITS2_XML_PATH
, if it is a non-empty character string. By default, the file name is set to an XML file distributed with RNetCDF.
Author(s)
Pavel Michna, Milton Woods
References
https://www.unidata.ucar.edu/software/udunits/
[Package RNetCDF version 2.9-2 Index]