Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 2.94 KB

CHANGES.rst

File metadata and controls

83 lines (60 loc) · 2.94 KB

What's new

0.4.0 (01-10-2020)

The git repo is now hosted by pangeo-data (https://github.com/pangeo-data/xESMF)

Breaking changes

  • By default, weights are not written to disk, but instead kept in memory.
  • Installation requires ESMPy 8.0.0 and up.

New features

  • The Regridder object now takes a weights argument accepting a scipy.sparse COO matrix, a dictionary, an xarray.Dataset, or a path to a netCDF file created by ESMF. If None, weights are computed and can be written to disk using the to_netcdf method. This weights parameter replaces the filename and reuse_weights arguments, which are preserved for backward compatibility (3). By David Huard and Raphael Dussin
  • Added documentation discussion how to compute weights from a shell using MPI, and reuse from xESMF (12). By Raphael Dussin
  • Add support for masks in :py:func`esmf_grid`. This avoid NaNs to bleed into the interpolated values. When using a mask and the conservative regridding method, use a new method called conservative_normed to properly handle normalization (1). By Raphael Dussin

0.3.0 (06-03-2020)

New features

0.2.2 (07-10-2019)

New features

0.2.0 (04-08-2019)

Breaking changes

All user-facing APIs in v0.1.x should still work exactly the same. That said, because some internal codes have changed a lot, there might be unexpected edge cases that break current user code. If that happens, you can revert to the previous version by pip install xesmf==0.1.2 and follow old docs.

New features

  • Lazy evaluation on dask arrays (uses :pyxarray.apply_ufunc and :pydask.array.map_blocks)
  • Automatic looping over variables in an xarray Dataset
  • Add tutorial notebooks on those new features

By Jiawei Zhuang

0.1.2 (03-08-2019)

This release mostly contains internal clean-ups to facilitate future development.

New features

  • Deprecates regridder.A in favor of regridder.weights
  • Speed-up test suites by using coarser grids
  • Use parameterized tests when appropriate
  • Fix small memory leaks from ESMF.Grid
  • Properly assert ESMF enums

By Jiawei Zhuang

0.1.1 (31-12-2017)

Initial release. By Jiawei Zhuang