------------------
This release of xESMF improves support for parallelization with dask: weights can now be computed in parallel, and those weights can be applied over chunks spanning the horizontal grid dimensions. Previously, computing weights in parallel was only possible using MPI, and datasets could only be chunked over non-spatial dimensions.
These new features are the outcome of `Charles Gauthier <https://github.com/charlesgauthier-udm>`_'s internship at `Ouranos <https://www.ouranos.ca/>`_ during the summer of 2023. Thanks to Charles for his hard work and sharp analysis, which led to a permanent position at Ouranos!
New features
~~~~~~~~~~~~
* Added a check in SpatialAverager that warns user if they are using polygons with long segments that could cause errors (:pull:`293`). By `Charles Gauthier <https://github.com/charlesgauthier-udm>`_
* Add an option (``parallel``) to generate regridding weights in parallel using dask (:pull:`290`). By `Charles Gauthier <https://github.com/charlesgauthier-udm>`_
* Add the ability to apply weights using dask on chunked horizontal/core dimensions. The ``output_chunks`` argument to the `Regridder` class
allows setting the chunk sizes of the output data (:pull:`280`). By `Charles Gauthier <https://github.com/charlesgauthier-udm>`_
* Added a `w` property to the `Regridder` and `SpatialAverager` classes, returning the weights reshaped according to
the input and output grid dimensions. This is mostly intended for debugging and visualisation purposes (:pull:`276`). By `David Huard <https://github.com/huard>`_
Documentation
~~~~~~~~~~~~~
* Move URLs from earthsystemcog.org to earthsystemmodeling.org (:pull:`292`).
Internal changes
~~~~~~~~~~~~~~~~
* Remove Python 3.7 from the project classifiers
* Build docs using Python 3.9