Skip to content

v0.5.0

Choose a tag to compare

@huard huard released this 28 Nov 15:50
· 301 commits to master since this release
bb29347

New features

  • Create ESMF.Mesh objects from shapely.polygons (#24).
  • New class SpatialAverager offers user-friendly mechanism to average a 2-D field over a polygon. Includes support to handle interior holes and multi-part geometries. (#24)
  • Automatic detection of coordinates and computation of vertices based on cf-xarray. (#49)

Breaking changes

  • Deprecate esmf_grid in favor of Grid.from_xarray
  • Deprecate esmf_locstream in favor of LocStream.from_xarray
  • Installation requires numpy>=1.16 and cf-xarray>=0.3.1

Bug fixes

  • Fix serialization bug when using dask's distributed scheduler (#39).

Internal changes

  • Subclass ESMF.Mesh and create from_polygon method
  • Subclass ESMF.Grid and ESMF.LocStream and create from_xarray methods.
  • New BaseRegridder class, with support for Grid, LocStream and Mesh objects. Not all regridding methods are supported for Mesh objects.
  • Refactor Regridder to subclass BaseRegridder.