This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Gang, > Thanks! The man command works. Glad to hear it. Note that a C interface also exists. > I have a further question on utopen(). A simple > ercode = utopen('') > works on my Linux box and a '0' returned to ercode. The environment > variable UDUNITS_PATH is not defined on my computer. At least 'echo > $UDUNITS_PATH' gives me an empty result. Could you please tell what is > the possible 'ompile-time default pathname' and what is the filename of > the units file. The installed file is "$(prefix)/etc/udunits.dat", where "$(prefix)" is the installation-point of the package specified when the package's "configure" script was executed. By default, it is the parent directory of the top-level source-directory of the package. So, for example, if the source of the package is "/usr/local/udunits/src", then the data-file would be "/usr/local/udunits/etc/udunits.dat". Otherwise, "$(prefix)" is the value given to the "--prefix" option of the "configure" script. > Thanks, > Gang > > ========================================= > Gang Liu, Ph.D. > Senior Physical Scientist/Oceanographer > (I.M. System Group, Inc.) > NOAA Coral Reef Watch Program > NOAA/NESDIS/ORA E/RA31 > SSMC1, #5310 > 1335 East-West Highway > Silver Spring, MD 20910-3226 > > Tel: 301-713-9386 ext 131 > Fax: 301-713-3136 > Email: address@hidden > ========================================= Regards, Steve Emmerson Ticket Details =================== Ticket ID: VCN-568614 Department: Support UDUNITS Priority: Normal Status: Closed