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.
3.17.0
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.
3.16.0
3.15.2
- 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)
3.15.1
* 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.
3.15.0
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.