cf-units

Units of measure as required by the Climate and Forecast (CF) Metadata Conventions

https://github.com/scitools/cf-units

Science Score: 77.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 33 committers (3.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (2.9%) to scientific vocabulary

Keywords from Contributors

iris visualisation earth-science grib meteorology oceanography spaceweather cftime axis cython
Last synced: 6 months ago · JSON representation ·

Repository

Units of measure as required by the Climate and Forecast (CF) Metadata Conventions

Basic Info
Statistics
  • Stars: 73
  • Watchers: 10
  • Forks: 50
  • Open Issues: 29
  • Releases: 25
Created almost 11 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

cf-units

Units of measure as defined by the Climate and Forecast (CF) Metadata Conventions.

| | | |------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ⚙️ CI | ci-locks ci-manifest ci-tests ci-wheels pre-commit.ci status | | 💬 Community | GH Discussions | | 📖 Documentation | Documentation Status | | 📈 Health | Coverage Status | | ✨ Meta | code style - black isort Flake8 license - bds-3-clause | | 📦 Package | conda-forge downloads pypi pypi - python version DOI | | 🧰 Repo | Commits since last release contributors Latest version | | | |

Table of Contents

[comment]: # (NOTE: toc auto-generated with https://github.com/jonschlinkert/markdown-toc $> markdown-toc -i --bullets='-' README.md)

[comment]: # (This entire README can be markdown linted with https://github.com/igorshubovych/markdownlint-cli $ markdownlint README.md)

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

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 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.

Owner

  • Name: SciTools
  • Login: SciTools
  • Kind: organization
  • Email: scitools.pub@gmail.com
  • Location: United Kingdom

SciTools is a collaborative effort to produce powerful Python-based open-source tools for Earth scientists

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If cf-units played an important role in your research then please add us to your reference list by using the references below."
title: "cf-units"
authors:
    - name: "cf-units repository contributors"
abstract: "Units of measure as defined by the Climate and Forecast (CF) Metadata Conventions."
license: "BSD-3-Clause"
license-url: "https://spdx.org/licenses/BSD-3-Clause.html"
doi: "10.5281/zenodo.1257902"
url: "http://www.scitools.org.uk/"
repository-code: "https://github.com/SciTools/cf-units"
type: "software"

GitHub Events

Total
  • Create event: 26
  • Release event: 1
  • Issues event: 18
  • Watch event: 8
  • Delete event: 25
  • Issue comment event: 128
  • Push event: 145
  • Pull request review comment event: 24
  • Pull request event: 173
  • Pull request review event: 135
  • Fork event: 1
Last Year
  • Create event: 26
  • Release event: 1
  • Issues event: 18
  • Watch event: 8
  • Delete event: 25
  • Issue comment event: 128
  • Push event: 145
  • Pull request review comment event: 24
  • Pull request event: 173
  • Pull request review event: 135
  • Fork event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 447
  • Total Committers: 33
  • Avg Commits per committer: 13.545
  • Development Distribution Score (DDS): 0.779
Past Year
  • Commits: 108
  • Committers: 13
  • Avg Commits per committer: 8.308
  • Development Distribution Score (DDS): 0.741
Top Committers
Name Email Commits
dependabot[bot] 4****] 99
pre-commit-ci[bot] 6****] 59
scitools-ci[bot] 1****] 52
Bill Little b****e@g****m 51
ocefpaf o****f@g****m 35
Phil Elson p****b@g****m 28
Martin Yeo 4****s 24
Ruth Comer 1****r 15
Peter Killick p****k@m****k 12
github-actions[bot] 4****] 12
Patrick Peglar p****r@m****k 8
Chris Bunney 4****y 6
cpelley c****b@g****m 5
Daniel Kirkham d****m@m****k 4
bekozi b****l@g****m 4
tvoigt t****1 3
marqh m****h@s****k 3
Will Benfold 6****d 3
Richard Hattersley r****y@g****m 3
Michael R. Shannon m****e@g****m 3
Henry Wright 8****t 3
stephenworsley 4****y 2
Trim21 t****e@g****m 2
Elliott Sales de Andrade q****t@g****m 2
Bouwe Andela b****a@g****m 1
Kevin Donkers k****s@g****m 1
Lars Bärring l****g@s****e 1
Leigh Gordon l****s 1
Zeb Nicholls z****s@c****g 1
iris-actions[bot] 1****] 1
and 3 more...
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 51
  • Total pull requests: 431
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 24 days
  • Total issue authors: 24
  • Total pull request authors: 16
  • Average comments per issue: 2.08
  • Average comments per pull request: 1.01
  • Merged pull requests: 319
  • Bot issues: 3
  • Bot pull requests: 310
Past Year
  • Issues: 31
  • Pull requests: 243
  • Average time to close issues: 6 days
  • Average time to close pull requests: 5 days
  • Issue authors: 9
  • Pull request authors: 11
  • Average comments per issue: 0.81
  • Average comments per pull request: 1.02
  • Merged pull requests: 173
  • Bot issues: 2
  • Bot pull requests: 167
Top Authors
Issue Authors
  • pp-mo (16)
  • trexfeathers (5)
  • pelson (4)
  • ukmo-ccbunney (4)
  • larsbarring (2)
  • scitools-ci[bot] (2)
  • voney (1)
  • monego (1)
  • water-e (1)
  • mhidas (1)
  • bjlittle (1)
  • huaracheguarache (1)
  • dependabot[bot] (1)
  • cpelley (1)
  • schlunma (1)
Pull Request Authors
  • dependabot[bot] (150)
  • scitools-ci[bot] (99)
  • pre-commit-ci[bot] (72)
  • bjlittle (31)
  • pp-mo (24)
  • trexfeathers (19)
  • ukmo-ccbunney (18)
  • HGWright (7)
  • trim21 (6)
  • rcomer (5)
  • ocefpaf (4)
  • stephenworsley (4)
  • bouweandela (2)
  • pelson (2)
  • lbdreyer (1)
Top Labels
Issue Labels
New: Issue (20) Type: Bug (12) Type: Infrastructure (11) community (8) Status: Decision Required (3) Type: Enhancement (3) Type: Documentation (3) Bot (3) Release: Minor (2) Type: Tech Debt (2) New: Documentation (2) New: Feature (2) Good First Issue (1) repo-checking (1) New: Pull Request (1) Type: Testing (1) Experience: High (1)
Pull Request Labels
Bot (247) New: Pull Request (244) Type: Infrastructure (34) Type: Documentation (8) community (7) repo-checking (7) Type: Tech Debt (5) Status: Decision Required (4) Type: Bug (3) Type: Enhancement (2) dependencies (2) Type: Testing (2) compliance lists 📈 (2) Release: Patch (1) Release: Minor (1) Experience: Medium (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 13,390 last-month
  • Total docker downloads: 810
  • Total dependent packages: 10
  • Total dependent repositories: 41
  • Total versions: 22
  • Total maintainers: 12
pypi.org: cf-units

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

  • Documentation: https://cf-units.readthedocs.io
  • License: BSD 3-Clause License Copyright (c) 2015, Met Office. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Latest release: 3.3.0
    published over 1 year ago
  • Versions: 22
  • Dependent Packages: 10
  • Dependent Repositories: 41
  • Downloads: 13,390 Last month
  • Docker Downloads: 810
Rankings
Dependent packages count: 1.1%
Docker downloads count: 2.0%
Dependent repos count: 2.3%
Average: 4.1%
Downloads: 4.6%
Forks count: 6.1%
Stargazers count: 8.8%
Last synced: 7 months ago

Dependencies

.github/workflows/ci-locks.yml actions
  • actions/cache v3.2.3 composite
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • conda-incubator/setup-miniconda v2 composite
  • peter-evans/create-pull-request 2b011faafdcbc9ceb11414d64d0573f37c774b04 composite
  • tibdex/github-app-token v1 composite
.github/workflows/ci-tests.yml actions
  • actions/cache v3.2.3 composite
  • actions/checkout v3 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/ci-wheels.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • pypa/cibuildwheel v2.11.4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
setup.py pypi