xarray-regrid: Regridding utilities for xarray

PyPI DOI

Overview

xarray-regrid extends xarray with regridding methods, making it possibly to easily and effiently regrid between two rectilinear grids.

The following methods are supported:

Note that “Most/least common value” is designed to regrid categorical data to a coarse resolution. For regridding categorical data to a finer resolution, please use “nearest-neighbor” regridder.

For usage examples, please refer to the quickstart guide and the example notebooks.

Installing

pip install xarray-regrid

Acknowledgements

This package was developed under Netherlands eScience Center grant NLESC.OEC.2022.017.

Some methods were inspired by discussions in the Pangeo community.