Skip to main content

General Circulation Model Postprocessing with xarray

Project description

pypi package conda forge conda-forge GitHub Workflow CI Status code coverage documentation status DOI license Code style pre-commit.ci status

Binder Examples

Link

Provider

Description

Binder

mybinder.org

Basic self-contained example

PBinder

Pangeo Binder

More complex examples integrated with other Pangeo tools (dask, zarr, etc.)

Description

xgcm is a python package for working with the datasets produced by numerical General Circulation Models (GCMs) and similar gridded datasets that are amenable to finite volume analysis. In these datasets, different variables are located at different positions with respect to a volume or area element (e.g. cell center, cell face, etc.) xgcm solves the problem of how to interpolate and difference these variables from one position to another.

xgcm consumes and produces xarray data structures, which are coordinate and metadata-rich representations of multidimensional array data. xarray is ideal for analyzing GCM data in many ways, providing convenient indexing and grouping, coordinate-aware data transformations, and (via dask) parallel, out-of-core array computation. On top of this, xgcm adds an understanding of the finite volume Arakawa Grids commonly used in ocean and atmospheric models and differential and integral operators suited to these grids.

xgcm was motivated by the rapid growth in the numerical resolution of ocean, atmosphere, and climate models. While highly parallel supercomputers can now easily generate tera- and petascale datasets, common post-processing workflows struggle with these volumes. Furthermore, we believe that a flexible, evolving, open-source, python-based framework for GCM analysis will enhance the productivity of the field as a whole, accelerating the rate of discovery in climate science. xgcm is part of the Pangeo initiative.

Getting Started

To learn how to install and use xgcm for your dataset, visit the xgcm documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xgcm-0.9.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xgcm-0.9.0-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file xgcm-0.9.0.tar.gz.

File metadata

  • Download URL: xgcm-0.9.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xgcm-0.9.0.tar.gz
Algorithm Hash digest
SHA256 7406a87bc619841ff5afc23da1521142642c766a583c6cdd57bd78a487950e2c
MD5 b20436eaa5f2c07350be070a1bf7dca0
BLAKE2b-256 014cad63096d9fcc21993a511a312085d30cbb10bcc504640aeaa29a9fa0db01

See more details on using hashes here.

File details

Details for the file xgcm-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: xgcm-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xgcm-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5be9b556b763091f9d79fc3b2ac2c266bc0635780b6890b8b8f392e7f95199
MD5 d99ad6bee3d11b1cdd624b12ceab4b6d
BLAKE2b-256 a9819872dd454a1cf27f8768ff3f752e606af78e3100e00b13fe4e99005c5971

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page