nc-time-axis

Provides support for a cftime axis in matplotlib

https://github.com/scitools/nc-time-axis

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 19 committers (5.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.4%) to scientific vocabulary

Keywords

axis cftime matplotlib

Keywords from Contributors

interpolation cython ocean-sciences atmospheric-science mesh wx tk qt gtk pypi
Last synced: 6 months ago · JSON representation ·

Repository

Provides support for a cftime axis in matplotlib

Basic Info
Statistics
  • Stars: 60
  • Watchers: 10
  • Forks: 34
  • Open Issues: 14
  • Releases: 9
Topics
axis cftime matplotlib
Created over 9 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

nc-time-axis

Support for a cftime axis in matplotlib

| | | |------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ⚙️ CI | ci-citation ci-locks ci-manifest ci-wheels pre-commit.ci status | | 💬 Community | Contributor Covenant GH Discussions | | 📖 Documentation | RTD Status | | 📈 Health | codecov | | ✨ Meta | Ruff SPEC 0 — Minimum Supported Dependencies license - bsd-3-clause conda platform | | 📦 Package | DOI conda-forge pypi pypi - python version | | 🧰 Repo | commits-since contributors release | | |

Installation

Install nc-time-axis either with conda: shell conda install -c conda-forge nc-time-axis

Or pip: shell pip install nc-time-axis

Example

```python import random

import cftime import matplotlib.pyplot as plt import nctimeaxis

calendar = "360_day" dt = [ cftime.datetime(year=2017, month=2, day=day, calendar=calendar) for day in range(1, 31) ] temperatures = [round(random.uniform(0, 12), 3) for _ in range(len(dt))]

plt.plot(dt, temperatures) plt.margins(0.1) plt.ylim(0, 12) plt.xlabel("Date") plt.ylabel("Temperature") plt.show() ```

alt text

License

nc-time-axis is distributed under the terms of the BSD-3-Clause license.

#ShowYourStripes

#showyourstripes Global 1850-2021

Graphics and Lead Scientist: Ed Hawkins, National Centre for Atmospheric Science, University of Reading.

Data: Berkeley Earth, NOAA, UK Met Office, MeteoSwiss, DWD, SMHI, UoR, Meteo France & ZAMG.

#ShowYourStripes is distributed under a Creative Commons Attribution 4.0 International License creative-commons-by

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 nc-time-axis played an important part in your research then please add us to your reference list by using the references below."
title: "nc-time-axis"
authors:
- family-names: "Dreyer"
  given-names: "Laura"
  orcid: "https://orcid.org/0009-0006-6310-3658"
- family-names: "Elson"
  given-names: "Phil"
  orcid: "https://orcid.org/0000-0001-6360-749X"
- family-names: "Bourgault"
  given-names: "Pascal"
  orcid: "https://orcid.org/0000-0003-1192-0403"
- family-names: "Busecke"
  given-names: "Julius"
  orcid: "https://orcid.org/0000-0001-8571-865X"
- family-names: "Clark"
  given-names: "Spencer"
  orcid: "https://orcid.org/0000-0001-5595-7895"
- family-names: "Comer"
  given-names: "Ruth"
  orcid: "https://orcid.org/0009-0007-5336-0244"
- family-names: "Fernandes"
  given-names: "Filipe"
  orcid: "https://orcid.org/0000-0003-4165-2913"
- family-names: "Little"
  given-names: "Bill"
  orcid: "https://orcid.org/0000-0002-1345-9465"
- family-names: "Yeo"
  given-names: "Martin"
  orcid: "https://orcid.org/0009-0000-6857-560X"
- name: "nc-time-axis contributors"
abstract: "Provides support for a cftime axis in matplotlib"
license: "BSD-3-Clause"
license-url: "https://spdx.org/licenses/BSD-3-Clause.html"
doi: "10.5281/zenodo.6472640"
url: "http://www.scitools.org.uk/"
date-released: "2016-07-01"
repository-code: "https://github.com/SciTools/nc-time-axis"
type: "software"

GitHub Events

Total
  • Issues event: 8
  • Watch event: 1
  • Delete event: 94
  • Issue comment event: 77
  • Push event: 121
  • Pull request review comment event: 9
  • Pull request review event: 150
  • Pull request event: 231
  • Fork event: 3
  • Create event: 100
Last Year
  • Issues event: 8
  • Watch event: 1
  • Delete event: 94
  • Issue comment event: 77
  • Push event: 121
  • Pull request review comment event: 9
  • Pull request review event: 150
  • Pull request event: 231
  • Fork event: 3
  • Create event: 100

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 347
  • Total Committers: 19
  • Avg Commits per committer: 18.263
  • Development Distribution Score (DDS): 0.729
Past Year
  • Commits: 141
  • Committers: 8
  • Avg Commits per committer: 17.625
  • Development Distribution Score (DDS): 0.631
Top Committers
Name Email Commits
scitools-ci[bot] 1****] 94
dependabot[bot] 4****] 77
pre-commit-ci[bot] 6****] 74
Bill Little b****e@g****m 25
Spencer Clark s****k@g****m 18
lbdreyer l****r@m****k 18
Filipe Fernandes o****f@g****m 10
jbusecke j****s@l****u 10
Chris Bunney 4****y 4
Martin Yeo 4****s 3
Carroll, Luke l****l@m****k 2
Peter Killick p****k@m****k 2
Ruth Comer 1****r 2
stephenworsley 4****y 2
mbeedie m****a@b****k 2
Henry Wright 8****t 1
Pascal Bourgault b****l@o****a 1
Phil Elson p****b@g****m 1
marqh m****h@m****t 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 72,700 last-month
  • Total docker downloads: 4,020
  • Total dependent packages: 31
    (may contain duplicates)
  • Total dependent repositories: 156
    (may contain duplicates)
  • Total versions: 15
  • Total maintainers: 9
pypi.org: nc-time-axis

Provides support for a cftime axis in matplotlib

  • Versions: 7
  • Dependent Packages: 23
  • Dependent Repositories: 47
  • Downloads: 72,700 Last month
  • Docker Downloads: 4,020
Rankings
Dependent packages count: 0.6%
Downloads: 1.6%
Docker downloads count: 1.9%
Dependent repos count: 2.1%
Average: 3.8%
Forks count: 7.4%
Stargazers count: 9.5%
Last synced: 6 months ago
conda-forge.org: nc-time-axis
  • Versions: 6
  • Dependent Packages: 8
  • Dependent Repositories: 109
Rankings
Dependent repos count: 3.3%
Dependent packages count: 7.1%
Average: 21.1%
Forks count: 33.1%
Stargazers count: 41.0%
Last synced: 6 months ago
spack.io: py-nc-time-axis

cftime support for matplotlib axis.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 18.5%
Stargazers count: 21.8%
Average: 24.4%
Dependent packages count: 57.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ci-citation.yml actions
  • actions/checkout v4 composite
  • citation-file-format/cffconvert-github-action 2.0.0 composite
.github/workflows/ci-locks.yml actions
.github/workflows/ci-manifest.yml actions
.github/workflows/ci-tests.yml actions
  • actions/checkout v4 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/ci-wheels.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
requirements/pypi-core.txt pypi
  • cftime >=1.5
  • matplotlib *
  • numpy >=1.21
requirements/pypi-optional-docs.txt pypi
  • ipython *
  • numpydoc *
  • sphinx *
  • sphinx-rtd-theme *
requirements/pypi-optional-test.txt pypi
  • codecov * test
  • pytest >=6.0 test
  • pytest-cov * test
setup.py pypi