Initialize the UDUNITS2 Library
Initialize the UDUNITS2 library.
utinit.nc(path="")
path |
Path to an XML-formatted unit-database for UDUNITS2. |
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.
Pavel Michna, Milton Woods
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.