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://scitools.org.uk/cf-units/docs/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 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).
Development occurs on GitHub at https://github.com/SciTools/cf-units, with a contributor's license agreement (CLA) that can be found at https://scitools.org.uk/governance.html.
(C) British Crown Copyright, Met Office
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
File details
Details for the file cf-units-2.1.1.tar.gz
.
File metadata
- Download URL: cf-units-2.1.1.tar.gz
- Upload date:
- Size: 174.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa0ef8efd84546e61088aa23e76ebbaf7043167dc3a7f35f34549c234b543530 |
|
MD5 | 320ab2adfc543947a740c434e6aa2fdf |
|
BLAKE2b-256 | 4345c23e9412fbccf511de996bb6450ca8862e1273839617dd17240d9c179324 |