utinit.nc: Initialize the UDUNITS2 Library

Description Usage Arguments Details Author(s) References

View source: R/RNetCDF.R

Description

Initialize the UDUNITS2 library.

Usage

1
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/


RNetCDF documentation built on Aug. 20, 2021, 9:08 a.m.