udunits
« Back to VersTracker
Description:
Unidata unit conversion library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: scientific units conversion library cli
Install: brew install udunits
About:
Udunits is a library and command-line utility for handling and converting units of physical quantities. It provides a comprehensive database of units and supports complex unit expressions, enabling precise scientific calculations. Its main value is ensuring data consistency and interoperability across different measurement systems in research and data analysis.
Key Features:
  • Extensive unit database including SI and non-SI units
  • Supports compound unit expressions (e.g., 'm/s', 'kg*m^2')
  • C library for programmatic integration and CLI tool for scripts
  • Automatic scaling and conversion between compatible units
Use Cases:
  • Standardizing climate and atmospheric data units in scientific workflows
  • Integrating unit conversion into custom data processing pipelines
  • Validating and converting units in engineering or physics applications
Alternatives:
  • pint – Pint is a Python-based unit library, whereas Udunits is a C library with a CLI, making Udunits more suitable for performance-critical or cross-language environments.
  • GNU Units – GNU Units is a command-line tool similar to Udunits, but Udunits is specifically designed for integration into scientific data systems like those used by Unidata.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 3:01am 0 VERSION_BUMP f36edd2e