.. toctree:: :maxdepth: 3 :hidden: self .. toctree:: :maxdepth: 3 :caption: User Guide :hidden: Quickstart Example Notebooks .. toctree:: :maxdepth: 3 :caption: Technical information :hidden: Changelog 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: * `Linear `_ * `Nearest-neighbor `_ * `Conservative `_ * `Cubic `_ * `Zonal statistics `_ * `"Most common value" (zonal statistics) `_ * `"Least common value" (zonal statistics) `_ 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 ========== .. code:: shell 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. .. |PyPI| image:: https://img.shields.io/pypi/v/xarray-regrid.svg?style=flat :target: https://pypi.python.org/pypi/xarray-regrid/ .. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10203304.svg :target: https://doi.org/10.5281/zenodo.10203304