v1.3.0
DOI: https://doi.org/10.5281/zenodo.3620851
DEPRECATIONS (the following features are deprecated and will be removed in Verde v2.0.0):
- Functions and the associated sample dataset
verde.datasets.fetch_rio_magnetic
andverde.datasets.setup_rio_magnetic_map
are deprecated. Please use another dataset instead. (#213) - Class
verde.VectorSpline2D
is deprecated. The class is specific for GPS/GNSS data and doesn't fit the general-purpose nature of Verde. The implementation will be moved to the Erizo package instead. (#214) - The
client
keyword argument forverde.cross_val_score
andverde.SplineCV
is deprecated in favor of the newdelayed
argument (see below). (#222)
New features:
- Use the
dask.delayed
interface for parallelism in cross-validation instead of the futures interface (dask.distributed.Client
). It's easier and allows building the entire graph lazily before executing. To use the new feature, passdelayed=True
toverde.cross_val_score
andverde.SplineCV
. The argumentclient
in both of these is deprecated (see above). (#222) - Expose the optimal spline in
verde.SplineCV.spline_
. This is the fittedverde.Spline
object using the optimal parameters. (#219) - New option
drop_coords
to allowverde.BlockReduce
andverde.BlockMean
to reduce extra elements incoordinates
(basically, treat them as data). Default toTrue
to maintain backwards compatibility. IfFalse
, will no longer drop coordinates after the second one but will apply the reduction in blocks to them as well. The reduced coordinates are returned in the same order in thecoordinates
. (#198)
Improvements:
- Use the default system cache location to store the sample data instead of
~/.verde/data
. This is so users can more easily clean up unused files. Because this is system specific, functionverde.datasets.locate
was added to return the cache folder location. (#220)
Bug fixes:
- Correctly use
parallel=True
andnumba.prange
in the numba compiled functions. Using it on the Green's function was raising a warning because there is nothing to parallelize. (#221)
Maintenance:
- Add testing and support for Python 3.8. (#211)
Documentation:
- Fix a typo in the JOSS paper Bibtex entry. (#215)
- Wrap docstrings to 79 characters for better integration with Jupyter and IPython. These systems display docstrings using 80 character windows, causing our larger lines to wrap around and become almost illegible. (#212)
- Use napoleon instead of numpydoc to format docstrings. Results is slightly different layout in the website documentation. (#209)
- Update contact information to point to the Slack chat instead of Gitter. (#204)
This release contains contributions from:
- Santiago Soler
- Leonardo Uieda