A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

xmip

Analysis ready CMIP6 data in python the easy way with pangeo tools.
https://github.com/jbusecke/xmip

Category: Climate Change
Sub Category: Climate Data Processing and Analysis

Keywords

analysis-ready-data climate-analysis climate-models cmip6 cmip6-data pangeo preprocessing xgcm

Keywords from Contributors

observation archiving transforms measur optimize plots compression rasterize parallel climate-model

Last synced: about 20 hours ago
JSON representation

Repository metadata

Analysis ready CMIP6 data in python the easy way with pangeo tools.

README.md

Documentation Status
Anaconda Cloud
conda-forge
Pypi
Build Status
Full Archive CI
codecov
License:MIT
DOI

BLM

Science is not immune to racism. Academia is an elitist system with numerous gatekeepers that has mostly allowed a very limited spectrum of people to pursue a career. I believe we need to change that.

Open source development and reproducible science are a great way to democratize the means for scientific analysis. But you can't git clone software if you are being murdered by the police for being Black!

Free access to software and hollow diversity statements are hardly enough to crush the systemic and institutionalized racism in our society and academia.

If you are using this package, I ask you to go beyond just speaking out and donate here to Data for Black Lives and Black Lives Matter Action.

I explicitly welcome suggestions regarding the wording of this statement and for additional organizations to support. Please raise an issue for suggestions.

xmip (formerly cmip6_preprocessing)

This package facilitates the cleaning, organization and interactive analysis of Model Intercomparison Projects (MIPs) within the Pangeo software stack.

Are you interested in CMIP6 data, but find that is is not quite analysis ready? Do you just want to run a simple (or complicated) analysis on various models and end up having to write logic for each seperate case, because various datasets still require fixes to names, coordinates, etc.? Then this package is for you.

Developed during the cmip6-hackathon this package provides utility functions that play nicely with intake-esm.

We currently support the following functions

  1. Preprocessing CMIP6 data (Please check out the tutorial for some examples using the pangeo cloud). The preprocessig includes:
    a. Fix inconsistent naming of dimensions and coordinates
    b. Fix inconsistent values,shape and dataset location of coordinates
    c. Homogenize longitude conventions
    d. Fix inconsistent units
  2. Creating large scale ocean basin masks for arbitrary model output

The following issues are under development:

  1. Reconstruct/find grid metrics
  2. Arrange different variables on their respective staggered grid, so they can work seamlessly with xgcm

Check out this recent Earthcube notebook (cite via doi: 10.1002/essoar.10504241.1) for a high level demo of xmip and xgcm.

Installation

Install xmip via pip:

pip install xmip

or conda:

conda install -c conda-forge xmip

To install the newest main from github you can use pip aswell:

pip install git+pip install git+https://github.com/jbusecke/xmip.git

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Busecke"
  given-names: "Julius J. M."
  orcid: "https://orcid.org/0000-0001-8571-865X"
- family-names: "Spring"
  given-names: "Aaron"
  orcid: "https://orcid.org/0000-0003-0216-2241"
- family-names: "Maroon"
  given-names: "Elizabeth"
  orcid: "https://orcid.org/0000-0002-1660-7822"
- family-names: "Nicholas"
  given-names: "Thomas"
  orcid: "https://orcid.org/0000-0002-2176-0530"
- family-names: "Magin"
  given-names: "Justus"
  orcid: "https://orcid.org/0000-0002-4254-8002"
  affiliation: "IFREMER"
- family-names: "Ritschel"
  given-names: "Markus"
  orcid: "https://orcid.org/0000-0001-7464-7075"
  affiliation: "Universität Hamburg, Germany"
- family-names: "Angevaare"
  given-names: "Joran J. R."
  orcid: "https://orcid.org/0000-0003-3392-8123"
  affiliation: "KNMI"

title: "xMIP"
url: "https://github.com/jbusecke/xMIP"
# version and doi are completed by Zenodo automatically, do not provide here.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 563
Total Committers: 11
Avg Commits per committer: 51.182
Development Distribution Score (DDS): 0.254

Commits in past year: 40
Committers in past year: 5
Avg Commits per committer in past year: 8.0
Development Distribution Score (DDS) in past year: 0.5

Name Email Commits
Julius Busecke j****s@l****u 420
Julius Busecke j****e@p****u 57
dependabot[bot] 4****] 50
pre-commit-ci[bot] 6****] 13
AS a****g@m****e 12
Joran R. Angevaare j****e@g****m 4
markusritschel g****b@m****e 3
Elizabeth Maroon e****n@w****u 1
Emma Boland e****p@b****k 1
Tom Nicholas 3****s 1
readthedocs-assistant 9****t 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 71
Total pull requests: 124
Average time to close issues: 3 months
Average time to close pull requests: 21 days
Total issue authors: 24
Total pull request authors: 10
Average comments per issue: 2.7
Average comments per pull request: 0.95
Merged pull request: 95
Bot issues: 0
Bot pull requests: 73

Past year issues: 13
Past year pull requests: 26
Past year average time to close issues: 15 days
Past year average time to close pull requests: 15 days
Past year issue authors: 4
Past year pull request authors: 5
Past year average comments per issue: 0.69
Past year average comments per pull request: 1.12
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 13

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/jbusecke/xmip

Top Issue Authors

  • jbusecke (39)
  • jdldeauna (4)
  • znicholls (3)
  • JoranAngevaare (2)
  • emaroon (2)
  • AbbySh (2)
  • scoatsclim (2)
  • BenF1998 (1)
  • Recalculate (1)
  • emmomp (1)
  • rabernat (1)
  • tessjacobson (1)
  • BWBlack (1)
  • hmkhatri (1)
  • jwy-wbe (1)

Top Pull Request Authors

  • dependabot[bot] (58)
  • jbusecke (38)
  • pre-commit-ci[bot] (15)
  • JoranAngevaare (5)
  • jdldeauna (2)
  • briochemc (2)
  • emmomp (1)
  • readthedocs-assistant (1)
  • emaroon (1)
  • rwegener2 (1)

Top Issue Labels

  • next release (1)
  • documentation (1)
  • enhancement (1)

Top Pull Request Labels

  • dependencies (58)

Package metadata

pypi.org: xmip

Analysis ready CMIP6 data the easy way

  • Homepage: https://github.com/jbusecke/xmip
  • Documentation: https://xmip.readthedocs.io/
  • Licenses: Apache
  • Latest release: 0.7.2 (published over 1 year ago)
  • Last Synced: 2025-04-25T14:04:17.284Z (2 days ago)
  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 789 Last month
  • Docker Downloads: 0
  • Rankings:
    • Docker downloads count: 2.026%
    • Stargazers count: 5.248%
    • Forks count: 6.526%
    • Average: 9.676%
    • Dependent packages count: 10.119%
    • Downloads: 12.594%
    • Dependent repos count: 21.545%
  • Maintainers (1)

Dependencies

.github/workflows/ci.yaml actions
  • actions/checkout v3 composite
  • codecov/codecov-action v3.1.1 composite
  • mamba-org/provision-with-micromamba main composite
  • xarray-contrib/ci-trigger v1 composite
.github/workflows/full_archive_ci.yaml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • conda-incubator/setup-miniconda v2.2.0 composite
.github/workflows/pythonpublish.yaml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish v1.6.4 composite
docs/environment.yml conda
  • cartopy
  • ipykernel
  • ipython
  • nc-time-axis
  • numpydoc
  • pandoc
  • pint
  • pip
  • recommonmark
  • sphinx
  • sphinx_rtd_theme
ci/environment.yml pypi
pyproject.toml pypi
setup.py pypi

Score: 14.678258730908794