Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.07 KB

README.md

File metadata and controls

44 lines (29 loc) · 2.07 KB

cfunits

A Python interface to UNIDATA's UDUNITS-2 package with CF extensions.

GitHub tag (latest by date) PyPI Conda

Conda Website GitHub

GitHub Workflow Status Codecov

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

Units are as defined in UNIDATA's UDUNITS-2 package, 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

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

Installation

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

Tests

The test script is in the cfunits/test directory:

python test/run_tests.py