{"id":28633629,"url":"https://github.com/scitools/cf-units","last_synced_at":"2026-01-17T12:33:04.093Z","repository":{"id":28584650,"uuid":"32102712","full_name":"SciTools/cf-units","owner":"SciTools","description":"Units of measure as required by the Climate and Forecast (CF) Metadata Conventions","archived":false,"fork":false,"pushed_at":"2025-06-12T00:58:56.000Z","size":1364,"stargazers_count":73,"open_issues_count":27,"forks_count":50,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-06-12T15:09:26.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cf-units.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SciTools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-03-12T21:09:35.000Z","updated_at":"2025-06-09T11:10:19.000Z","dependencies_parsed_at":"2023-11-06T07:04:01.647Z","dependency_job_id":"efe13f5e-364c-4659-af5b-468c79c918a3","html_url":"https://github.com/SciTools/cf-units","commit_stats":{"total_commits":325,"total_committers":28,"mean_commits":"11.607142857142858","dds":0.796923076923077,"last_synced_commit":"758f93b1a3de95a704312b16d5f442eea39c8fdd"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/SciTools/cf-units","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciTools%2Fcf-units","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciTools%2Fcf-units/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciTools%2Fcf-units/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciTools%2Fcf-units/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SciTools","download_url":"https://codeload.github.com/SciTools/cf-units/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SciTools%2Fcf-units/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490550,"owners_count":22865769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-12T15:09:27.461Z","updated_at":"2026-01-17T12:33:04.050Z","avatar_url":"https://github.com/SciTools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [cf-units](https://cf-units.readthedocs.io/en/latest/)\n\n#### Units of measure as defined by the Climate and Forecast (CF) Metadata Conventions.\n\n|                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ⚙️ CI            | [![ci-locks](https://github.com/SciTools/cf-units/actions/workflows/ci-locks.yml/badge.svg?branch=main)](https://github.com/SciTools/cf-units/actions/workflows/ci-locks.yml)  [![ci-manifest](https://github.com/SciTools/cf-units/actions/workflows/ci-manifest.yml/badge.svg)](https://github.com/SciTools/cf-units/actions/workflows/ci-manifest.yml) [![ci-tests](https://github.com/SciTools/cf-units/actions/workflows/ci-tests.yml/badge.svg?branch=main)](https://github.com/SciTools/cf-units/actions/workflows/ci-tests.yml) [![ci-wheels](https://github.com/SciTools/cf-units/actions/workflows/ci-wheels.yml/badge.svg?branch=main)](https://github.com/SciTools/cf-units/actions/workflows/ci-wheels.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/SciTools/cf-units/main.svg)](https://results.pre-commit.ci/latest/github/SciTools/cf-units/main) |\n| 💬 Community     | [![GH Discussions](https://img.shields.io/badge/github-discussions%20%F0%9F%92%AC-yellow?logo=github\u0026logoColor=lightgrey)](https://github.com/SciTools/cf-units/discussions)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |\n| 📖 Documentation | [![Documentation Status](https://readthedocs.org/projects/cf-units/badge/?version=latest)](https://cf-units.readthedocs.io/en/latest/?badge=latest)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| 📈 Health        | [![Coverage Status](https://codecov.io/gh/SciTools/cf-units/branch/main/graph/badge.svg?token=6LlYlyTUZG)](https://codecov.io/gh/SciTools/cf-units)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| ✨ Meta          | [![code style - black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/) [![Flake8](https://img.shields.io/badge/lint-flake8-lightgrey)](https://github.com/PyCQA/flake8) [![license - bds-3-clause](https://img.shields.io/github/license/SciTools/cf-units)](https://github.com/SciTools/cf-units/blob/main/LICENSE) [![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)                                                                                                                                                                                                                                            |\n| 📦 Package       | [![conda-forge downloads](https://img.shields.io/conda/vn/conda-forge/cf-units?color=orange\u0026label=conda-forge\u0026logo=conda-forge\u0026logoColor=white)](https://anaconda.org/conda-forge/cf-units) [![pypi](https://img.shields.io/pypi/v/cf-units?color=orange\u0026label=pypi\u0026logo=python\u0026logoColor=white)](https://pypi.org/project/cf-units/) [![pypi - python version](https://img.shields.io/pypi/pyversions/cf-units.svg?color=orange\u0026logo=python\u0026label=python\u0026logoColor=white)](https://pypi.org/project/cf-units/) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1257902.svg)](https://doi.org/10.5281/zenodo.1257902)                                                                                                                                                                                                                                                                     |\n| 🧰 Repo          | [![Commits since last release](https://img.shields.io/github/commits-since/SciTools/cf-units/latest.svg)](https://github.com/SciTools/cf-units/commits/main) [![contributors](https://img.shields.io/github/contributors/SciTools/cf-units)](https://github.com/SciTools/cf-units/graphs/contributors) [![Latest version](https://img.shields.io/github/tag/SciTools/cf-units)](https://github.com/SciTools/cf-units/releases)                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n|                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n\n## Table of Contents\n\n[comment]: # (NOTE: toc auto-generated with\n  https://github.com/jonschlinkert/markdown-toc\n    $\u003e markdown-toc -i --bullets='-' README.md)\n\n[comment]: # (This entire README can be markdown linted with\n  https://github.com/igorshubovych/markdownlint-cli\n    $ markdownlint README.md)\n\n- [Overview](#overview)\n  - [Example](#example)\n- [Get in Touch](#get-in-touch)\n- [Credits, Copyright and License](#credits-copyright-and-license)\n\n## Overview\n\nUnits of measure as required by the Climate and Forecast (CF) metadata\nconventions.\n\nProvision of a wrapper class to support Unidata/UCAR UDUNITS-2 library, and the\ncftime calendar functionality.\n\nDocumentation can be found at \u003chttps://cf-units.readthedocs.io/en/latest/\u003e.\n\n### Example\n\n    \u003e\u003e\u003e from cf_units import Unit\n    \u003e\u003e\u003e km = Unit('kilometers')\n    \u003e\u003e\u003e m = Unit('meters')\n    \u003e\u003e\u003e m.convert(1500, km)\n    1.5\n\n## Get in Touch\n\n- Questions, ideas, general discussion or announcements\n  of related projects: use the\n  [Discussions space](https://github.com/SciTools/cf-units/discussions).\n- Report bugs:\n  [submit a GitHub issue](https://github.com/SciTools/cf-units/issues).\n- Suggest features: see our [contributing guide](.github/CONTRIBUTING.md).\n\n## Credits, Copyright and License\n\ncf-units is developed collaboratively under the SciTools umbrella.\n\nA full list of code contributors (\"cf-units contributors\") can be found at\nhttps://github.com/SciTools/cf-units/graphs/contributors.\n\nCode is just one of many ways of positively contributing to cf-units, please\nsee our [contributing guide](.github/CONTRIBUTING.md) for more details on how\nyou can get involved.\n\ncf-units is released under a BSD-3 license. See [LICENSE](LICENSE) for full\nterms.\n\nThe [Met Office](https://metoffice.gov.uk) has made a significant\ncontribution to the development, maintenance and support of this library.\nAll Met Office contributions are copyright on behalf of the British Crown.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscitools%2Fcf-units","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscitools%2Fcf-units","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscitools%2Fcf-units/lists"}