Unified Code for Units of Measure

The Unified Code for Units of Measure (UCUM) is a system of codes for unambiguously representing measurement units. Its primary purpose is machine-to-machine communication rather than communication between humans.[1]

The code set includes all units defined in ISO 1000, ISO 2955-1983, ANSI X3.50-1986, HL7 and ENV 12435, and explicitly and verifiably addresses the naming conflicts and ambiguities in those standards to resolve them. It provides for representations of units in 7 bit ASCII for machine-to-machine communication, with unambiguous mapping between case-sensitive and case-insensitive representations.

A reference open-source implementation is available as a Java applet. Also an OSGi based implementation at Eclipse Foundation.

Base units

Units are represented in UCUM with reference to a set of seven base units.[2] The UCUM base units are the meter for measurement of length, the second for time, the gram for mass, the coulomb for charge, the kelvin for temperature, the candela for luminous intensity, and the radian for plane angle. The UCUM base units form a set of mutually independent dimensions as required by dimensional analysis.

Some of the UCUM base units are different from the SI base units. UCUM is compatible with, but not isomorphic with SI. There are four differences between the two sets of base units:

  1. The gram is the base unit of mass instead of the kilogram, since in UCUM base units do not have prefixes.
  2. Electric charge is the base quantity for electromagnetic phenomena instead of electric current, since the elementary charge of electrons is more fundamental physically.
  3. The mole is dimensionless in UCUM, since it can be defined in terms of the Avogadro number,
  4. The radian is a distinct base unit for plane angle, to distinguish angular velocity from rotational frequency and to distinguish the radian from the steradian for solid angles.
UCUM base units
Name Symbol Measure Dimension
symbol
[3]
metre m length L
second s time T
gram g mass M
coulomb C charge Q
kelvin K thermodynamic temperature C
candela cd luminous intensity F
radian rad plane angle A

Metric and non-metric units

Metric prefixes in everyday use
Text Symbol Factor Power
tera T 1000000000000 1012
giga G 1000000000 109
mega M 1000000 106
kilo k 1000 103
hecto h 100 102
deca da 10 101
(none) (none) 1 100
deci d 0.1 10−1
centi c 0.01 10−2
milli m 0.001 10−3
micro μ 0.000001 10−6
nano n 0.000000001 10−9
pico p 0.000000000001 10−12

Each unit represented in UCUM is identified as either "metric" or "non-metric".[2] Metric units can accept metric prefixes as in SI. Non-metric units are not permitted to be used with prefixes. All of the base units are metric.

UCUM refers to units that are defined on non-ratio scales as "special units". Common examples include the bel and degree Celsius. While these are not considered metric units by UCUM, UCUM nevertheless allows metric prefixes to be used with them where this is common practice.[2]

Binary prefixes are also supported.

Arbitrary units

UCUM recognizes units that are defined by a particular measurement procedure, and which cannot be related to the base units.[2] These units are identified as "arbitrary units". Arbitrary units are not commensurable with any other unit; measurements in arbitrary units cannot be compared with or converted into measurements in any other units. Many of the recognized arbitrary units are used in biochemistry and medicine.

gollark: No, the main thing is the "code as data" and whatnot, no?>
gollark: https://urn-lang.com/
gollark: Hold on.
gollark: no linked lists. only vectors and/or dequeueueues.
gollark: > ***LINKED LISTS***

See also

  • International vocabulary of metrology

References

  1. "UCUM". The UCUM Organization. Retrieved May 1, 2019.
  2. Schadow, Gunther; McDonald, Clement J. (November 21, 2017). "The Unified Code for Units of Measure, version 2.1". Regenstrief Institute and the UCUM Organization. Retrieved 2019-05-13.
  3. Schadow, Gunther; McDonald, Clement J. (November 21, 2017). "The Unified Code for Units of Measure (XML specification), version 2.1". Regenstrief Institute and the UCUM Organization. Retrieved 2019-12-20.

Further reading

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.