v1.8.0
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 ofverde.grid_coordinates
(#390) - New
scoring
parameter forverde.SplineCV
to specify the scoring function (#380)
Deprecations:
- Deprecate the
engine
argument ofSpline/SplineCV
(#373) - Deprecate the
engine
argument inVectorSpline2D
(#410) - Deprecate
verde.ScipyGridder
in favor of the newLinear/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
inverde.Spline
by using a better Green's function for small distances (#401) - Fix behavior of coordinate generation in
verde.line_coordinates
ifspacing >= 2 * interval
(#406) - Use the new classes
Linear/Cubic/KNeighbors
inverde.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
andnp.int
(#362)
This release contains contributions from:
- Sarah Margrethe Askevold
- James Sample
- Santiago Soler
- Matt Tankersley
- Leonardo Uieda