Gcpy
Python toolkit for GEOS-Chem. Contains basic plotting scripts, plus the suite of GEOS-Chem benchmarking utilities.
Install / Use
/learn @geoschem/GcpyREADME
GCPy: Python toolkit for GEOS-Chem
<p> <a href="https://github.com/geoschem/gcpy/releases"><img src="https://img.shields.io/github/v/release/geoschem/gcpy?label=Latest%20Stable%20Release" alt="Latest release" /></a> <a href="https://anaconda.org/conda-forge/geoschem-gcpy"> <img src="https://anaconda.org/conda-forge/geoschem-gcpy/badges/version.svg" alt="Anaconda version" /> </a> <a href="https://img.shields.io/pypi/v/geoschem-gcpy"><img src="https://img.shields.io/pypi/v/geoschem-gcpy" alt="PyPI version" /></a> <a href="https://github.com/geoschem/gcpy/releases/"><img src="https://img.shields.io/github/release-date/geoschem/gcpy" alt="Release date" /></a> <br /> <a href="https://anaconda.org/conda-forge/geoschem-gcpy"> <img src="https://anaconda.org/conda-forge/geoschem-gcpy/badges/platforms.svg" alt="Platforms" /> </a> <a href="https://doi.org/10.5281/zenodo.3689589"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.3689589.svg" alt="DOI" /></a> <a href="https://github.com/geoschem/gcpy/blob/main/LICENSE.txt"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License" /></a> <a href="https://gcpy.readthedocs.io/en/latest/"><img src="https://img.shields.io/readthedocs/gcpy?label=ReadTheDocs" alt="ReadTheDocs" /></a> <br /> <a href="https://github.com/geoschem/gcpy/actions/workflows/build-gcpy-environment-py312.yml"><img src="https://github.com/geoschem/gcpy/actions/workflows/build-gcpy-environment-py312.yml/badge.svg" alt="build-gcpy-environment-py312" /></a> <a href="https://github.com/geoschem/gcpy/actions/workflows/build-gcpy-environment-py313.yml"><img src="https://github.com/geoschem/gcpy/actions/workflows/build-gcpy-environment-py313.yml/badge.svg" alt="build-gcpy-environment-py313" /></a> <br /> <a href="https://github.com/geoschem/gcpy/actions/workflows/build-rtd-environment.yml"><img src="https://github.com/geoschem/gcpy/actions/workflows/build-rtd-environment.yml/badge.svg" alt="build-rtd-environment" /></a> <a href="https://anaconda.org/conda-forge/geoschem-gcpy"><img src="https://anaconda.org/conda-forge/geoschem-gcpy/badges/downloads.svg" alt="Downloads" /> </a> </p>GCPy is a Python-based toolkit containing useful functions for working specifically with the GEOS-Chem model of atmospheric chemistry and composition.
GCPy aims to build on the well-established scientific Python technical stack, leveraging tools like cartopy, numpy, and xarray to simplify the task of working with GEOS-Chem model output and performing atmospheric chemistry analyses.
What GCPy was intended to do:
- Produce plots and tables from GEOS-Chem output using simple function calls.
- Generate the standard evaluation plots and tables for GEOS-Chem benchmark simulations.
- Obtain GEOS-Chem's horizontal and vertical grid information.
- Implement GCHP-specific regridding functionalities (e.g. cubed-sphere to lat-lon regridding)
- Provide example scripts for creating specific types of plots or analysis from GEOS-Chem output.
- Provide user-submitted scripts for specific applications related to GEOS-Chem and HEMCO.
What GCPy was not intended to do:
-
General NetCDF file modification: (crop a domain, extract some variables):
- Instead, use netCDF tools such as:
- Also see our Work with netCDF files guide at geos-chem.readthedocs.io
-
Statistical analysis:
- Instead, use statistical tools such as:
- Use scipy
- scikit-learn
- R
- etc
- Instead, use statistical tools such as:
-
Machine Learning:
- Instead, use machine learning tools such as:
- pytorch,
- tensorflow
- julia
- etc.
- Instead, use machine learning tools such as:
Documentation:
For more information on installing and using GCPy, visit the official documentation at gcpy.readthedocs.io.
License
GCPy is distributed under the MIT license. Please see the GCPy license agreement and List of GCPy developers for more information.
Requesting support
To report a bug or suggest a new feature, please see our Support Guidelines.
Submitting new features
If you are interested in submitting code to GCPy, please see our Contributing Guidelines.
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
338.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
