Skip to main content
Ctrl+K
 - Home  - Home
  • Get Started
  • User Guide
  • Tutorial
  • Gallery
  • API Reference
  • Get Help
  • Contribute
  • Release Notes
  • GitHub
  • Get Started
  • User Guide
  • Tutorial
  • Gallery
  • API Reference
  • Get Help
  • Contribute
  • Release Notes
  • GitHub

Section Navigation

Data model

  • Terminology
  • Data Structures
  • Hierarchical data
  • Parallel Computing with Dask

Core operations

  • Indexing and selecting data
  • Combining data
  • Reshaping and reorganizing data
  • Computation
  • GroupBy: Group and Bin Data
  • Interpolating data

I/O

  • Reading and writing files

Visualization

  • Plotting

Interoperatbility

  • Working with pandas
  • Working with numpy-like arrays
  • Xarray related projects

Domain-specific workflows

  • Time series data
  • Weather and climate data

Options and Testing

  • Configuration
  • Testing your code
  • User Guide
  • Xarray related projects

Xarray related projects#

Below is a list of existing open source projects that build functionality upon xarray. See also section Xarray Internals for more details on how to build xarray extensions. We also maintain the xarray-contrib GitHub organization as a place to curate projects that build upon xarray.

Geosciences#

  • aospy: Automated analysis and management of gridded climate data.

  • argopy: xarray-based Argo data access, manipulation and visualisation for standard users as well as Argo experts.

  • climpred: Analysis of ensemble forecast models for climate prediction.

  • geocube: Tool to convert geopandas vector data into rasterized xarray data.

  • GeoWombat: Utilities for analysis of remotely sensed and gridded raster data at scale (easily tame Landsat, Sentinel, Quickbird, and PlanetScope).

  • grib2io: Utility to work with GRIB2 files including an xarray backend, DASK support for parallel reading in open_mfdataset, lazy loading of data, editing of GRIB2 attributes and GRIB2IO DataArray attrs, and spatial interpolation and reprojection of GRIB2 messages and GRIB2IO Datasets/DataArrays for both grid to grid and grid to stations.

  • gsw-xarray: a wrapper around gsw that adds CF compliant attributes when possible, units, name.

  • infinite-diff: xarray-based finite-differencing, focused on gridded climate/meteorology data

  • marc_analysis: Analysis package for CESM/MARC experiments and output.

  • MetPy: A collection of tools in Python for reading, visualizing, and performing calculations with weather data.

  • MPAS-Analysis: Analysis for simulations produced with Model for Prediction Across Scales (MPAS) components and the Accelerated Climate Model for Energy (ACME).

  • OGGM: Open Global Glacier Model

  • Oocgcm: Analysis of large gridded geophysical datasets

  • Open Data Cube: Analysis toolkit of continental scale Earth Observation data from satellites.

  • Pangaea: xarray extension for gridded land surface & weather model output).

  • Pangeo: A community effort for big data geoscience in the cloud.

  • PyGDX: Python 3 package for accessing data stored in GAMS Data eXchange (GDX) files. Also uses a custom subclass.

  • pyinterp: Python 3 package for interpolating geo-referenced data used in the field of geosciences.

  • pyXpcm: xarray-based Profile Classification Modelling (PCM), mostly for ocean data.

  • Regionmask: plotting and creation of masks of spatial regions

  • rioxarray: geospatial xarray extension powered by rasterio

  • salem: Adds geolocalised subsetting, masking, and plotting operations to xarray’s data structures via accessors.

  • SatPy : Library for reading and manipulating meteorological remote sensing data and writing it to various image and data file formats.

  • SARXarray: xarray extension for reading and processing large Synthetic Aperture Radar (SAR) data stacks.

  • shxarray: Convert, filter,and map geodesy related spherical harmonic representations of gravity and terrestrial water storage through an xarray extension.

  • Spyfit: FTIR spectroscopy of the atmosphere

  • windspharm: Spherical harmonic wind analysis in Python.

  • wradlib: An Open Source Library for Weather Radar Data Processing.

  • wrf-python: A collection of diagnostic and interpolation routines for use with output of the Weather Research and Forecasting (WRF-ARW) Model.

  • xarray-regrid: xarray extension for regridding rectilinear data.

  • xarray-simlab: xarray extension for computer model simulations.

  • xarray-spatial: Numba-accelerated raster-based spatial processing tools (NDVI, curvature, zonal-statistics, proximity, hillshading, viewshed, etc.)

  • xarray-topo: xarray extension for topographic analysis and modelling.

  • xbpch: xarray interface for bpch files.

  • xCDAT: An extension of xarray for climate data analysis on structured grids.

  • xclim: A library for calculating climate science indices with unit handling built from xarray and dask.

  • xESMF: Universal regridder for geospatial data.

  • xgcm: Extends the xarray data model to understand finite volume grid cells (common in General Circulation Models) and provides interpolation and difference operations for such grids.

  • xmitgcm: a python package for reading MITgcm binary MDS files into xarray data structures.

  • xnemogcm: a package to read NEMO output files and add attributes to interface with xgcm.

Machine Learning#

  • ArviZ: Exploratory analysis of Bayesian models, built on top of xarray.

  • Darts: User-friendly modern machine learning for time series in Python.

  • Elm: Parallel machine learning on xarray data structures

  • sklearn-xarray (1): Combines scikit-learn and xarray (1).

  • sklearn-xarray (2): Combines scikit-learn and xarray (2).

  • xbatcher: Batch Generation from Xarray Datasets.

Other domains#

  • ptsa: EEG Time Series Analysis

  • pycalphad: Computational Thermodynamics in Python

  • pyomeca: Python framework for biomechanical analysis

Extend xarray capabilities#

  • Collocate: Collocate xarray trajectories in arbitrary physical dimensions

  • eofs: EOF analysis in Python.

  • hypothesis-gufunc: Extension to hypothesis. Makes it easy to write unit tests with xarray objects as input.

  • ntv-pandas : A tabular analyzer and a semantic, compact and reversible converter for multidimensional and tabular data

  • nxarray: NeXus input/output capability for xarray.

  • xarray-compare: xarray extension for data comparison.

  • xarray-dataclasses: xarray extension for typed DataArray and Dataset creation.

  • xarray_einstats: Statistics, linear algebra and einops for xarray

  • xarray_extras: Advanced algorithms for xarray objects (e.g. integrations/interpolations).

  • xeofs: PCA/EOF analysis and related techniques, integrated with xarray and Dask for efficient handling of large-scale data.

  • xpublish: Publish Xarray Datasets via a Zarr compatible REST API.

  • xrft: Fourier transforms for xarray data.

  • xr-scipy: A lightweight scipy wrapper for xarray.

  • X-regression: Multiple linear regression from Statsmodels library coupled with Xarray library.

  • xskillscore: Metrics for verifying forecasts.

  • xyzpy: Easily generate high dimensional data, including parallelization.

Visualization#

  • datashader, geoviews, holoviews, : visualization packages for large data.

  • hvplot : A high-level plotting API for the PyData ecosystem built on HoloViews.

  • psyplot: Interactive data visualization with python.

  • xarray-leaflet: An xarray extension for tiled map plotting based on ipyleaflet.

  • xtrude: An xarray extension for 3D terrain visualization based on pydeck.

  • pyvista-xarray: xarray DataArray accessor for 3D visualization with PyVista and DataSet engines for reading VTK data formats.

Non-Python projects#

  • xframe: C++ data structures inspired by xarray.

  • AxisArrays, NamedArrays and YAXArrays.jl: similar data structures for Julia.

More projects can be found at the “xarray” Github topic.

previous

Working with numpy-like arrays

next

Time series data

On this page
  • Geosciences
  • Machine Learning
  • Other domains
  • Extend xarray capabilities
  • Visualization
  • Non-Python projects
Edit on GitHub

© Copyright 2014-2025, xarray Developers.

Created using Sphinx 7.4.7.

Last updated on 2025-04-29.

Built with the PyData Sphinx Theme 0.16.1.