Skip to content

v1.8.0

Latest
Compare
Choose a tag to compare
@leouieda leouieda released this 08 May 20:13
· 29 commits to main since this release
ec55094

Released on: 2023/05/08

DOI: https://doi.org/10.5281/zenodo.7907182

Note: Verde v1.7.0 is the last release that is compatible with Python 3.6.

New features:

  • New interpolator verde.KNeighbors class for nearest neighbor interpolation (#378)
  • New interpolator verde.Cubic gridder class based on SciPy (#374)
  • New interpolator verde.Linear gridder class based on SciPy (#372)
  • New function verde.line_coordinates, a 1D version of verde.grid_coordinates (#390)
  • New scoring parameter for verde.SplineCV to specify the scoring function (#380)

Deprecations:

  • Deprecate the engine argument of Spline/SplineCV (#373)
  • Deprecate the engine argument in VectorSpline2D (#410)
  • Deprecate verde.ScipyGridder in favor of the new Linear/Cubic/KNeighbors (#393)
  • Deprecate the scatter method of all interpolators (#357)
  • Undo deprecation of region/spacing/shape in the grid method (#394)
  • Undo deprecation of verde.VectorSpline2D (#385)

Improvements:

  • Remove the need for mindist in verde.Spline by using a better Green's function for small distances (#401)
  • Fix behavior of coordinate generation in verde.line_coordinates if spacing >= 2 * interval (#406)
  • Use the new classes Linear/Cubic/KNeighbors in verde.project_grid (#395)
  • Default to not rescaling coordinates in Linear/Cubic (#391)
  • Add option to return 1D arrays in grid_coordinates (#388)

Documentation:

  • New logo and use sphinx-design in the docs (#367)
  • Move deprecated APIs to their own docs section (#400)
  • Improve docstring of verde.make_xarray_grid (#399)
  • Fix typo in the verde.base.BaseGridder.fit docstring (#397)
  • Add missing matplotlib scraper for sphinx-gallery (#389)
  • Use PyGMT instead of Cartopy in the verde.Chain tutorial (#386)
  • Use Markdown for the README instead of RST (#366)

Maintenance:

  • Drop support for Python 3.6 (#364)
  • Fail CI if codecov upload fails (#409)
  • More informative warning messages by setting stacklevel=2 (#407)
  • Remove the deprecated sample data gallery (#387)
  • Set lower bounds for dependencies based on NEP29 (#384)
  • Replace setup.py with PyPA "build" (#371)
  • Replace deprecated numpy dtypes np.bool and np.int (#362)

This release contains contributions from:

  • Sarah Margrethe Askevold
  • James Sample
  • Santiago Soler
  • Matt Tankersley
  • Leonardo Uieda