Units of measure as defined by the Climate and Forecast (CF) metadata conventions.
Table of contents
Units of measure as required by the Climate and Forecast (CF) metadata conventions.
Provision of a wrapper class to support Unidata/UCAR UDUNITS-2 library, and the cftime calendar functionality.
Documentation can be found at https://scitools.org.uk/cf-units/docs/latest/.
>>> from cf_units import Unit >>> km = Unit('kilometers') >>> m = Unit('meters') >>> m.convert(1500, km) 1.5
Get in touch
- Questions, ideas, general discussion or announcements of related projects use the Google Group.
- Report bugs, suggest features or view the source code on GitHub.
License and copyright
cf-units is licensed under GNU Lesser General Public License (LGPLv3).
(C) British Crown Copyright, Met Office