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.8.1.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

xgcm-0.8.1-py3-none-any.whl (95.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xgcm-0.8.1.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for xgcm-0.8.1.tar.gz
Algorithm Hash digest
SHA256 fc733bf1ed5c1e286dddd182d37dabbdc1e01207dd15089f62be2021e29b0459
MD5 e1a94a75c6114decb3608848e3cabcd4
BLAKE2b-256 4786831e1457352dba41a16707742c4bc8f4ac9b761bc239480adb184c65742c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xgcm-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 95.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for xgcm-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a2df491cd93a3b49b6d13969f7ad333293a979848b15e853dd2c226f37e1a1
MD5 def3649e13d69e5dda4421c343d4ad4a
BLAKE2b-256 4ad80136cb3ea6392271c23ef81e47bd108234828200d894de4b6730dadfefb5

See more details on using hashes here.

Supported by

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