Wavespectra Wavespectra Versions Save

Library for ocean wave spectra

v3.19.0

1 month ago

Replace numba based stats functions by numpy equivalents, the numba ones no longer seem to provide any improvements in performance compared to the pure numpy ones. The numba dependency is removed here making the dependency chain simpler.

v3.18.0

4 months ago

New Features

  • Support gzip writing in octopus writer and reader (PR110 <https://github.com/wavespectra/wavespectra/pull/110>_).
  • New option to set compression level when writing gzipped swan ascii file.

Internal Changes

  • Gzipped swan ascii files are written with compresslevel=6 by default instead of 9.
  • Explicitly set text mode when reading / writing swan ascii files.

v3.17.0

4 months ago

This release improves the swan ascii and octopus writers to deal with datasets that were failing to write before such as those without a site dimension and or with lon/lat dimensions. It also adds support for era5 and ndbc netcdf formats in read_dataset reader function.

v3.16.0

5 months ago

v3.15.2

6 months ago
  • Build and push a docker image with wavespectra installed into github packages.
  • Remove numpy form dependency so it can be installed by numba to avoid conflicts.
  • Add requires-python to avoid error when trying to install wavespectra on python3.12 (setuptools issue)

v3.15.1

9 months ago
  • Allow providing file-like objects as input to all netcdf readers, and some ascii ones, to support working with remote files / fsspec more seamlessly.
  • New read_ww3_station reader function
  • Replace deprecated date_parser by date_format in pandas.csv calls.

v3.15.0

9 months ago

Some methods and functions will be deprecated in the next major release v4.0.0. This current release adds deprecation warnings to allow preparing for the upcoming changes. A bug in read_swan is also fixed so gzipped swan ascii files can be read.

v3.14.0

10 months ago
  • Redefine packaging via pyproject.toml
  • Replace docs theme from rtd to pydata
  • Add readthedocs config

v3.13.0

1 year ago
  • New NDBC netcdf reader
  • New Sofar csv reader
  • New github action to publis to pypi

v3.11.0

1 year ago
  • New Octopus reader
  • Fix to direction calculation from vectors
  • Make idw interpolation more robust
  • More support for pathlib