Gallery¶

Here’s a list of examples on how to use xarray. We will be adding more examples soon. Contributions are highly welcomed and appreciated. So, if you are interested in contributing, please consult the Contributing to xarray guide.

Notebook Examples¶

Toy weather data

Toy weather data

examples/weather-data.html
Calculating Seasonal Averages from Timeseries of Monthly Means

Calculating Seasonal Averages from Timeseries of Monthly Means

examples/monthly-means.html
Compare weighted and unweighted mean temperature

Compare weighted and unweighted mean temperature

examples/area_weighted_temperature.html
Working with Multidimensional Coordinates

Working with Multidimensional Coordinates

examples/multidimensional-coords.html
Visualization Gallery

Visualization Gallery

examples/visualization_gallery.html
GRIB Data Example

GRIB Data Example

examples/ERA5-GRIB-example.html
Applying unvectorized functions with apply_ufunc

Applying unvectorized functions with apply_ufunc

examples/apply_ufunc_vectorize_1d.html

External Examples¶

Managing raster data with rioxarray

Managing raster data with rioxarray

https://corteva.github.io/rioxarray/stable/examples/examples.html
Xarray and dask on the cloud with Pangeo

Xarray and dask on the cloud with Pangeo

https://gallery.pangeo.io/
Xarray with Dask Arrays

Xarray with Dask Arrays

https://examples.dask.org/xarray.html_
Project Pythia Foundations Book

Project Pythia Foundations Book

https://foundations.projectpythia.org/core/xarray.html

Logo of xarray

xarray

Navigation

For users

  • Getting Started
  • User Guide
  • Gallery
    • Notebook Examples
    • External Examples
  • Tutorials & Videos
  • API Reference
  • How do I ...
  • Getting Help
  • Ecosystem

For developers/contributors

  • Contributing Guide
  • Xarray Internals
  • Development Roadmap
  • Team
  • Developers Meeting
  • What’s New
  • GitHub repository

Community

  • GitHub discussions
  • StackOverflow

Related Topics

  • Documentation overview
    • Previous: Hierarchical data
    • Next: Toy weather data

Quick search

©2014-2025, xarray Developers. | Powered by Sphinx 8.1.3 & Alabaster 0.7.16 | Page source