Skip to main content

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.

conda-forge downloads Latest version Commits since last release # contributors Travis-CI


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

Cartopy 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cf_units-2.0.1.tar.gz (84.9 kB view details)

Uploaded Source

File details

Details for the file cf_units-2.0.1.tar.gz.

File metadata

  • Download URL: cf_units-2.0.1.tar.gz
  • Upload date:
  • Size: 84.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cf_units-2.0.1.tar.gz
Algorithm Hash digest
SHA256 aeb4978c11518bcb2516c1cf7beb053d1be0cd8e2349a07ad78094f63a2837f4
MD5 8e592bded3c332f8f64e3f1ca0dabc24
BLAKE2b-256 0c0132ac56ae9977baf05dca9b3c563c96118b4204dff5161ce5ec58113b649c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page