Skip to content

Releases: pangeo-data/xESMF

v0.8.5

11 Apr 21:00
849c242
Compare
Choose a tag to compare

What's Changed

  • Reverted to the chunking behaviour of xESMF 0.7 for cases where the spatial dimensions are not chunked on the source data. @aulemahal in #348

Full Changelog: v0.8.4...v0.8.5

v0.8.4

23 Feb 21:57
3a9b9a7
Compare
Choose a tag to compare
  • Fix regression that made Regridder fail with rectilinear datasets and parallel=True.
  • Allow Python 3.12 (and higher) again.

v0.8.3

20 Feb 18:30
d32b5f4
Compare
Choose a tag to compare
  • Remove usage of private method of xarray that was removed in its 2024.02.0 version.

Internal changes

  • Test against ESMF 8.6

v0.8.2

18 Sep 18:38
35a8727
Compare
Choose a tag to compare

What's Changed

  • Correctly guess output chunks for SpatialAverager by @aulemahal in #308
  • Add error message when output has no chunks with parallel weights generation by @aulemahal in #304

Full Changelog: v0.8.1...v0.8.2

v0.8.1

06 Sep 11:36
c957de7
Compare
Choose a tag to compare

What's Changed

  • Change import to support shapely 1 and 2. by @huard in #298

Full Changelog: v0.8...v0.8.1

v0.8

01 Sep 20:45
b08bb2e
Compare
Choose a tag to compare

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' internship at Ouranos during the summer of 2023. Thanks to Charles for his hard work and sharp analysis, which led to a permanent position at Ouranos!

What's Changed

New Contributors

Full Changelog: v0.7.1...v0.8

v0.7.1

04 Apr 23:43
8c87d39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.7.1

v0.7.0

16 Dec 15:03
351026b
Compare
Choose a tag to compare

What's Changed

New features

  • Add option to grid_global to vary longitudes from 0 to 360 by @huard in #207
  • Modify the stop argument in arange to avoid coordinates going over the right bound by @huard in #206

Documentation

Fixes

  • Modify test so it works with xarray v2022-11 by @huard in #210
  • Constrain numba >= 0.55.2 to make sure xESMF works with numpy 1.22. by @huard in #205
  • Try importing esmpy (aliased to ESMF) for esmpy >= 8.4.0 fixes #212 by @raphaeldussin in #214

New Contributors

Full Changelog: v0.6.3...v0.7.0

v0.6.3

29 Jun 22:02
d48285b
Compare
Choose a tag to compare

Bug fixes

  • Spatial coordinates of ds_out are kept within the regridder and transferred to the regridded DataArray or Dataset (#175). By Pascal Bourgault
  • Added numba as an explicit dependency to fix installation with conda (#168). By Pascal Bourgault

Internal changes

  • Use cf-xarray to guess missing CF coordinates before extracting bounds (#147). By Pascal Bourgault

v0.6.2

23 Nov 14:18
899bcea
Compare
Choose a tag to compare

Bug fixes

  • The introduction of sparse, with numba under the hood, restricted input data to little-endian dtypes. For big-endian dtypes, xESMF will convert to little-endian, regrid and convert back. By @aulemahal in #135
  • SpatialAverager did not compute the same weights as Regridder when source cell areas were not uniform. By @huard in #128
  • Refactor of how the regridding is called internally, to fix a bug with dask and sparse. By @aulemahal in #135

Internal changes

  • Deprecation of regrid_numpy and regrid_dask is scheduled for 0.7.0. All checks on shape, array layout and numba support are now done at call time, rather then at computation time. By @aulemahal in #135

Relevant PRs

  • Fix SpatialAverager to account for variable input grid cells areas by @huard in #128
  • Add test checking that SpatialAverager does work with masked values by @huard in #130
  • Regrid dataset with dask variables by @aulemahal in #122
  • On-the-fly endianness conversion by @aulemahal in #125
  • Unpin shapely by @aulemahal in #134
  • Reduce dask task count, refactor regrid dispatch by @aulemahal in #135

Full Changelog: v0.6.1...v0.6.2