Page tree
Skip to end of metadata
Go to start of metadata

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.


Default version2.1.24
Vendor
Build DateOct. 2018
Installation Path/sw/dataformats/udunits/


Modules

Currently installed version is 2.1.24. 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