v0.4.0
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
Regridderobject now takes aweightsargument 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 theto_netcdfmethod. Thisweightsparameter
replaces thefilenameandreuse_weightsarguments, which are preserved for backward compatibility (#3).
By @huard and @raphaeldussin - Added documentation discussion how to compute weights from a shell using MPI, and reuse from xESMF (#12 ).
By @raphaeldussin - Add support for masks in :py:func
esmf_grid. This avoid NaNs to bleed into the interpolated values.
When using a mask and theconservativeregridding method, use a new method called
conservative_normedto properly handle normalization (#1 ).
By @raphaeldussin