Units of measure as required by the Climate and Forecast (CF) metadata conventions
Project description
cf-units
Units of measure as defined by the Climate and Forecast (CF) metadata conventions.
Table of contents
Overview
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://cf-units.readthedocs.io/en/latest/.
Example
>>> 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 Discussions space.
- Report bugs: submit a GitHub issue.
- Suggest features: see our contributing guide.
Credits, copyright and license
cf-units is developed collaboratively under the SciTools umbrella.
A full list of code contributors ("cf-units contributors") can be found at https://github.com/SciTools/cf-units/graphs/contributors.
Code is just one of many ways of positively contributing to cf-units, please see our contributing guide for more details on how you can get involved.
cf-units is released under a LGPL license with a shared copyright model. See COPYING and COPYING.LESSER for full terms.
The Met Office has made a significant contribution to the development, maintenance and support of this library. All Met Office contributions are copyright on behalf of the British Crown.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for cf_units-3.0.1.post0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aed481c8a90f7b452ef24d7f696fd51df3d310fd8b6db2d1ecd02b805aab470a |
|
MD5 | 5caeb77c61f45e99c11bc43f69f90cd8 |
|
BLAKE2b-256 | 15ce05f0591185ec914f3910effca9650d1aa8ee7e592f161232f46cd572aa40 |
Hashes for cf_units-3.0.1.post0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b93e35ac3d5af4c38509fc80dc41e3bb11417843716938ecade70f998ae212a |
|
MD5 | 6effd312f761ea235587562a99ecda8e |
|
BLAKE2b-256 | 475c88ececcf42c9a3c3962038bdb9382bdb96a7cf5c2a5d92c6ccc67f964bb9 |
Hashes for cf_units-3.0.1.post0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c85305e874e449f6c490f3b7266161a79d5a55e6d5189700e52eb04ac633498 |
|
MD5 | 6dad8c21018f909dd57b686e0d20d8a4 |
|
BLAKE2b-256 | a434987dfe839c08c247a33b92591c072bcdefd542aa09a301895cddd7778363 |