Wavespectra

Latest version: v4.4.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

4.4.0

___________________

New Features
------------
* Support ERA5 netcdf files from the new cds api which have different naming conventions.
* New utils function to calculate a logarithmic frequency array.
* Generalise the generation of the spectral coordinates in read_era5 to support different
spectral grids, e.g., files from the operational ECMWF wave model.

Breaking Changes
----------------
* read_era5 no longer supports the `freqs` and `dirs` arguments. It now accepts `f0` and
`df` arguments, defaulting to 0.03453 and 1.1, respectively.

Internal Changes
----------------
* Update documentation to include missing util functions.

4.3.0

___________________

New Features
------------
* New `weight_coeff` option in the ndbc readers to avoid negative energy density in the
2D spectra by `lubyant`_ (`PR143 <https://github.com/wavespectra/wavespectra/pull/143>`_).

.. _`lubyant`: https://github.com/lubyant

4.2.1

___________________

Internal Changes
----------------
* Bug fixes to allow writing swan ascii files from spectra with no time or site dims.

4.2.0

___________________

Breaking Changes
----------------
* Remove `dset_lons` / `dset_lats` variables from the select methods. These variables
were not necessary and were only defined to support some legacy chunking issues.

Internal Changes
----------------
* Support datasets with different coordinate names in the select module.
* Support lons/lats specified as scalars in the `SpecDataset.sel` method.
* Add new github workflow to test the package on push on different OS with different python versions.

4.1.1

___________________

Internal Changes
----------------
* Rename specpartc to specpart to try and fix inconsistencies in module definition.

4.1.0

___________________

New Features
------------
* New reader for Nortec AWAC files by `Ruben de Bruin`_ (`PR137 <https://github.com/wavespectra/wavespectra/pull/137>`_).
* New reader for Datawell buoy files (`PR135 <https://github.com/wavespectra/wavespectra/pull/135>`_).
* Allow reading spotter buoy files as 2D spectra (`PR134 <https://github.com/wavespectra/wavespectra/pull/134>`_).

Internal Changes
----------------
* Changes to the csv and json spotter readers to optimise and standardise them.

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.