Skip to content

Releases: xarray-contrib/xarray-regrid

v0.3.0

05 Sep 06:30
8bdc636
Compare
Choose a tag to compare

New contributors:

Fixed:

  • conservative regridding now can be constructed fully lazily (#39).

Added:

  • documentation for the package, including readthedocs integration (#40).
  • better handling of NaNs to the conservative regridding routine, with a nan_threshold keyword argument. For more information see the notebooks on the documentation (#39 & #41).
  • create_regridding_dataset as a method of the xarray_regrid.Grid dataclass (#41).

v0.2.3

29 Feb 13:53
0605dbb
Compare
Choose a tag to compare

New contributors:

Fixed:

  • Ensure all attributes are kept upon regridding (dataset, variable and coordinate attrs) (#27).
  • The target grid can now have coordinates sorted in decending order, instead of the regridding failing (#29).
  • Regridding to larger grid now result in NaNs at locations outside of starting data grid (#33).

Changed:

  • Moved to the Ruff formatter, instead of black (#27).

v0.2.2

24 Nov 09:34
c7009b3
Compare
Choose a tag to compare

Added:

  • CITATION.cff file for Zenodo integration.

v0.2.1

05 Oct 10:54
Compare
Choose a tag to compare

Fixed:

  • Datasets containing NaN values can now be regridded using the conservative method. This previously produced only NaN values.

v0.2.0

02 Oct 07:38
Compare
Choose a tag to compare

Added:

  • xarray DataArrays are now supported
  • Conservative regridding method, along with a benchmark notebook.
  • A "most common value" regridding method, along with a demo notebook.

Changed:

  • The API has changed. Regridding is now done with xr.Dataset.regrid.method().
    • E.g. xr.Dataset.regrid.linear()

v0.1.0

17 Aug 11:36
Compare
Choose a tag to compare

First release of xarray-regrid, containing:

  • the implementation of linear, nearest-neighbor and cubic regridding.
  • benchmarks against CDO and xESMF for linear and nearest-neighbor.