UDUNITS2

Unidata UDUNITS2 Package, Conversion and manipulation of units

Description

Conversion of unit specifications between formatted and binary forms, arithmetic manipulation of units, and conversion of values between compatible scales of measurement. The Udunits2 package supports units of physical quantities (e.g., meters, seconds). Specifically, it supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. Udunits2 is used by several other packages at HLRN.


Vendor
Installation Path/sw/dataformats/udunits/
2.2.26
gcc-7
gcc-8
intel
2.2.28
gcc-9
intel.22


  • The udunits home page.
  • If an udunits module is loaded an info page is available for the keywords udunits2, udunits2lib and udunits2prog.

Modules

To activate the package, issue module load udunits from the command line or put this line into your login shell. For more versions see module avail udunits

Examples

To activate udunits type

module load udunits/2.1.24_intel

Direct calls of the udunits binary will be of minor importance. After loading the module, one may try

udunits
You have: J
You want: cal   
    <cal> = <J>*0.238846
    <cal> = <J>/4.1868