mlouielu / cfunits

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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

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

License:MIT License


Languages

Language:Python 93.8%Language:Shell 6.2%