cfunits 3.3.7


pip install cfunits

  Latest version

Released: Apr 23, 2024

Project Links

Meta
Author: David Hassell
Maintainer: David Hassell
Requires Python: >=3.6

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Science/Research

License
  • OSI Approved :: MIT License

Topic
  • Scientific/Engineering

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9

A Python interface to UNIDATA’s UDUNITS-2 library with CF extensions

Note: Versions 3.0.0 and later are only compatible with version Python 3. Use version 1.9 for Python 2 compatibility.

Store, combine and compare physical units and convert numeric values to different units.

Units are as defined in UNIDATA’s UDUNITS-2 library, except for reference time units (such as 'days since 2000-12-1' in the 'proleptic_gregorian' calendar), which are handled by the cftime python package.

In addition, some units are either new to, modified from, or removed from the standard UDUNITS-2 database in order to be more consistent with the CF conventions.

Documentation

https://ncas-cms.github.io/cfunits

Installation

https://ncas-cms.github.io/cfunits/installation.html

Extras:
Dependencies:
cftime (>=1.5.0)
numpy (>=1.15)
packaging (>=20.0)