xarray: N-D labeled arrays and datasets in Python
By Stephan Hoyer, J. Hamman. 2017
1,262 citations recorded by the source corpus.
xarray is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays. Our approach combines an application programing interface (API) inspired by pandas with the Common Data Model for self-described scientific data. Key features of the xarray package include label-based indexing and arithmetic, interoperability with the core scientific Python packages (e.g., pandas, NumPy, Matplotlib), out-of-core computation on datasets that don’t fit into memory, a wide range of serialization and input/output (I/O) options, and advanced multi-dimensional data manipulation tools such as group-by and resampling. xarray, as a data model and analytics toolkit, has been widely adopted in the geoscience community but is also used more broadly for multi-dimensional data analysis in physics, machine learning and finance.
Subfields: Artificial Intelligence, Atmospheric Science, Computer Graphics and Computer-Aided Design, Global and Planetary Change, Numerical Methods & Scientific Computing
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Aditya Grover
- Ashish Kapoor
- Jayesh K. Gupta
- P. Monteiro
- Schalk Kok
- L. Gregor
- Johannes Brandstetter
- Stefano Ermon
In Atmospheric Science
- Jonathan A. Weyn
- José M. Gutiérrez
- P. Monteiro
- Helene Hewitt
- R. Caruana
- Yoshihide Wada
- Joeri Rogelj
- Dale R. Durran
In Computer Graphics and Computer-Aided Design
In Global and Planetary Change
- Jonathan A. Weyn
- Volker Krey
- K. Ebi
- José M. Gutiérrez
- P. Monteiro
- Narasimha D. Rao
- R. Caruana
- Yoshihide Wada
In Numerical Methods & Scientific Computing
- P. Monteiro
- Osvaldo A. Martin
- Aditya Grover
- Ravi Kumar
- Tung Nguyen
- Ashish Kapoor
- Thomas V. Wiecki
- Jayesh K. Gupta
Citations in the corpus
- Array programming with NumPy (2020, neutral): “[41] S.”
- The Lagrangian particle dispersion model FLEXPART version 10.4 (2017, methodology): “Examples of such models are the Numerical Atmospheric-dispersion Modelling Environment (NAME) (Jones et al. , 2007), the Stochastic Time-Inverted Lagrangian Transport (STILT) model (Lin et al., 2003), the Hybrid Single-Particle Lagrangian Integrated Trajectory (HYSPLIT) model (Stein et al., 2015), a”
- Global exposure and vulnerability to multi-sector development and climate change hotspots (2018, background): “EB acknowledges funding from his IIASA Postdoctoral Fellowship, Daniel Huppmann and Oliver Fricko for advice, Catherine Raptis for assistance with power plant datasets and the Python xarray development team for software support [88].”
- Darts: User-Friendly Modern Machine Learning for Time Series (2021, methodology): “The TimeSeries are wrapping around three-dimensional xarray DataArray (Hoyer and Hamman, 2017).”
- Empirical methods for the estimation of Southern Ocean CO 2 : support vector and random forest regression (2017, positive): “The independent dataset is used to give a test error of the trained algorithm The statistical learning package, Scikit-Learn , in Python is used for all regression and cross-validation methods (Pedregosa et al., 2011) The details on each cross-validation method are outlined in the subsections below”
- Improving Data‐Driven Global Weather Prediction Using Deep Convolutional Neural Networks on a Cubed Sphere (2020, background): “We also acknowledge the open-source xarray project [16] for much of the data processing pipeline.”
- CASA, the Common Astronomy Software Applications for Radio Astronomy (2022, methodology): “These elements constitute the Application Programming Interface (API) of CASA, which gives users the possibility to configure and extend CASA.”
- ClimaX: A foundation model for weather and climate (2023, positive): “Software and hardware stack We use PyTorch (Paszke et al., 2019), timm (Wightman, 2019), numpy (Harris et al., 2020) and xarray (Hoyer & Hamman, 2017) to manage our data and model training.”
- An update of IPCC climate reference regions for subcontinental analysis of climate model data: definition and aggregated datasets (2020, methodology): “The Python notebook is based on the regionmask (Hauser, 2020) and xarray (Hoyer and Hamman, 2017) packages, among others.”
- PyMC: a modern, and comprehensive probabilistic programming framework in Python (2023, methodology): “…2016 ), Matplotlib ( Hunter, 2007 ; Caswell et al., 2022 ), NumPy ( Harris et al., 2020 ), Pandas ( McKinney, 2010 ; Pandas Development Team, 2022 ), PyTensor ( Bastien et al., 2022b ), SciPy ( Virtanen et al., 2020 ; Gommers et al., 2022 ), xarray ( Hoyer & Hamman, 2017 ; Hoyer et al., 2022 ).”
- ArviZ a unified library for exploratory analysis of Bayesian models in Python (2019, background): “(Hoyer & Hamman, 2017) dataset, ArviZ provides labeled querying of the data, efficient algorithms, and persistent metadata.”
- Fusing Multi‐ and Hyperspectral Satellite Data for Harmful Algal Bloom Monitoring With Self‐Supervised and Hierarchical Deep Learning (2025, unknown): “…and Alert Program ( https://calhabmap.org/ ; Cal-– Figure 2: A two-layer hierarchical deep clustering architecture is illustrated, where each ’Cluster’ box consists of fully connected neural network layers that interface with the encoder and are trained using the IIC loss (Invariant…”