Skip to content

Releases: wavespectra/wavespectra

Remove numba dependency

02 May 05:18
50ddce0
Compare
Choose a tag to compare

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.

Extend gzip support

31 Jan 20:09
66b38b2
Compare
Choose a tag to compare

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.

Improvements to swan ascii and octopus writers

25 Jan 02:00
Compare
Choose a tag to compare

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.

Allow ignoring missing sites in nearest sel

13 Dec 20:44
Compare
Choose a tag to compare
v3.16.0

Allow ignoring missing sites withing tolerance in the nearest sel method

Wavespectra docker image

01 Dec 06:07
Compare
Choose a tag to compare
  • 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)

Support to file-object and new read_ww3_station reader

29 Aug 01:07
Compare
Choose a tag to compare
  • 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.

Deprecation warnings and fix to reading of gzipped swan

14 Aug 08:55
Compare
Choose a tag to compare

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.

pyproject

03 Jul 04:34
Compare
Choose a tag to compare
  • Redefine packaging via pyproject.toml
  • Replace docs theme from rtd to pydata
  • Add readthedocs config

Octopus reader and some general improvements

17 Aug 19:47
Compare
Choose a tag to compare
  • New Octopus reader
  • Fix to direction calculation from vectors
  • Make idw interpolation more robust
  • More support for pathlib

Regridding and refactored plotting

09 Aug 04:55
Compare
Choose a tag to compare
  • New regridding capability wrapped in spec.interp and spec.interp_like methods.
  • Refactoring of plotting code so it does not import and use xarray internal functions.
  • Allow correcting for magnetic variation in read_triaxys function.
  • New read_orcaflex reader function.