`); OverviewOverviewGet StartedXarray in 45 minutesLearning PathsFundamental PathIntermediate PathFundamentalsFundamentalsData StructuresXarray’s Data structuresCreating Data StructuresReading and writing filesxarray.DataTreexarray.DataTree and hierarchical dataLabeled dataIndexing and Selecting DataManipulating Dimensions (Data Resolution)ComputationBasic ComputationComputing with Multiple ObjectsGrouped ComputationsWindowed ComputationsWeighted ReductionsPlotting and Visu..." />`); OverviewOverviewGet StartedXarray in 45 minutesLearning PathsFundamental PathIntermediate PathFundamentalsFundamentalsData StructuresXarray’s Data structuresCreating Data StructuresReading and writing filesxarray.DataTreexarray.DataTree and hierarchical dataLabeled dataIndexing and Selecting DataManipulating Dimensions (Data Resolution)ComputationBasic ComputationComputing with Multiple ObjectsGrouped ComputationsWindowed ComputationsWeighted ReductionsPlotting and Visu..." /> Computations
Skip to main content
 - Home

Overview

  • Get Started
  • Xarray in 45 minutes
  • Learning Paths
    • Fundamental Path
    • Intermediate Path

Fundamentals

  • Data Structures
    • Xarray’s Data structures
    • Creating Data Structures
    • Reading and writing files
    • xarray.DataTree and hierarchical data
  • Labeled data
    • Indexing and Selecting Data
    • Manipulating Dimensions (Data Resolution)
  • Computation
    • Basic Computation
    • Computing with Multiple Objects
    • Grouped Computations
    • Windowed Computations
    • Weighted Reductions
  • Plotting and Visualization
    • Basic Visualization
    • Faceting
    • Geography with Cartopy

Intermediate

  • Computations
    • Computational Patterns
    • Hierarchical computations
  • Indexing
    • Advanced Indexing
    • Boolean Indexing & Masking
  • Parallel computing with Dask
  • Introduction to Zarr
  • Hierarchical storage formats
  • A Tour of Xarray Customizations
  • Interactive plots using hvplot
  • Intermediate Xarray DataStructures
  • Datasets in other fields
  • Remote Data
    • Zarr in Cloud Object Storage
    • Access Patterns to Remote Data with fsspec
  • Data Tidying
    • Examples
    • Re-organize InSAR ice velocity data
    • Contributing
    • Presentations

Advanced

  • Indexing
    • Tree-Based Indexing
  • Parallelizing custom functions
  • apply_ufunc
    • A gentle introduction
    • Core dimensions
    • Handling complex output
    • Automatic Vectorization
    • Handling dask arrays
    • Fast vectorization with Numba
    • np.interp : An end-to-end example
  • map_blocks
    • A gentle introduction
  • Reading data using backends
    • Binary data without lazy loading
    • Binary data with lazy loading
  • Creating custom accessors

Workshops

  • SciPy 2026
  • SciPy 2025
  • SciPy 2024
  • SciPy 2023
  • Thinking like Xarray 2022
    • High-level computation patterns
  • Oceanhackweek 2020
    • Xarray in 45 minutes
  • Xarray Online Tutorial 2020
    • Xarray Fundamentals
    • Indexing and Selecting Data
    • Computation

Reference

  • Contributing Guide
  • Keep Exploring!
  • Glossary
  • Repository
  • Suggest edit
  • Open issue
  • .md

Computations

Computations#

  • Computational Patterns
  • Hierarchical computations

previous

Geography with Cartopy

next

Computational Patterns

By The Xarray Community

© Copyright 2025.

Xarray is a fiscally sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open-source scientific computing community.
Theme by the Executable Book Project.

Content licensed under the terms of the Apache 2.0 License.