New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cf-units

Package Overview
Dependencies
Maintainers
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-units

Units of measure as required by the Climate and Forecast (CF) metadata conventions

3.3.0
PyPI
Maintainers
12

cf-units

Units of measure as defined by the Climate and Forecast (CF) Metadata Conventions.
⚙️ CIci-locks ci-manifest ci-tests ci-wheels pre-commit.ci status
💬 CommunityGH Discussions
📖 DocumentationDocumentation Status
📈 HealthCoverage Status
✨ Metacode style - black isort Flake8 license - bds-3-clause
📦 Packageconda-forge downloads pypi pypi - python version DOI
🧰 RepoCommits since last release contributors Latest version

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

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 BSD-3 license. See LICENSE 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.

Keywords

units

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts