1UDUNITS(1)                     UNIDATA UTILITIES                    UDUNITS(1)
2
3
4

NAME

6       udunits - Unidata units utility
7

SYNOPSIS

9       udunits [-d] [units-file]
10

DESCRIPTION

12       This  utility uses the Unidata udunits(3) library to display the transā€
13       formation necessary to convert from one unit to another.
14
15       units-file contains unit definitions and  is  used  to  initialize  the
16       udunits(3)  library.   If  not  specified,  then the default units-file
17       determined by the udunits(3) library is used.
18
19       This utility works interactively and has two modes.  In one mode,  both
20       an  input  and output unit specification are given, causing the utility
21       to print the conversion between them:
22
23           You have: inch
24           You want: cm
25               <cm> = <inch>*2.54
26               <cm> = <inch>/0.393701
27
28           You have: (15 lbs force/in)^2
29           You want: atm2
30               <atm2> = <(15 lbs force/in)^2>*0.995719
31               <atm2> = <(15 lbs force/in)^2>/1.0043
32
33           You have: celsius
34           You want: fahrenheit
35               <fahrenheit> = <celsius>*1.8 + 32
36               <fahrenheit> = <celsius>/0.555556 + 32
37
38       In the other mode, only an input unit  specification  is  given.   This
39       causes  the  utility to print the definition -- in standard units -- of
40       the input unit:
41
42              You have: fahrenheit
43              You want:
44                  Definition: "0.555556 kelvin @ 255.372"
45
46              You have: geopotential meters
47              You want:
48                  Definition: "9.80665 meter2 second-2"
49
50       See the manual page on the udunits(3) library for a description of  the
51       unit-specification grammar.
52

OPTIONS

54       -d     Have  the  yacc(1)-generated  parser  print diagnostic messages.
55              The default is no messages.  This only works if the  parser  was
56              compiled with the C preprocessor macro YYDEBUG defined.
57

DIAGNOSTICS

59       This package prints (hopefully) self-explanatory error-messages.
60

SEE ALSO

62       udunits(3).
63
64
65
66Printed: 119.6.22        $Date: 1995/08/04 20:54:10 $               UDUNITS(1)
Impressum