Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Support #VCN-568614]: User guide on UDUNITS



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: Gang.Liu@xxxxxxxx
> =========================================

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: VCN-568614
Department: Support UDUNITS
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690