Wavespectra

Latest version: v3.19.0

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

Scan your dependencies

Page 1 of 8

3.19.0

___________________

Internal Changes
----------------
* Remove numba dependency (`PR122 <https://github.com/wavespectra/wavespectra/pull/122>`_)
* Remove other dependencies already installed by xarray.

3.18.0

___________________

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

___________________

New Features
------------
* Support ERA5 and NDBC netcdf file types in `read_dataset` reader.
* Support datasets with no lat / lon variables when writing octopus and swan ascii.
There is now an option to specify the coordinates manually or skip specifying them.

Internal Changes
----------------
* Stop relying on lon/lat coordinates in order to identify file types in read_dataset.
* Ensure octopus writer can handle lon/lat defined as coordinates in dataset rather
than data_vars.
* Fix octopus writer to support datasets without site as a dimension.
* Fix swan ascii writer for bug in cases where lon/lat are dimensions and site is not.

3.16.0

___________________

New Features
------------
* Allow ignoring missing sites within tolerance in the `nearest` method
(`PR102 <https://github.com/wavespectra/wavespectra/pull/102>`_).

Internal Changes
----------------
* Ensure at least one site is found in `nearest` method.
* Ensure sites are returned in the same order as the input dataset in `nearest` method
when the `unique` option is selected.

3.15.2

___________________

New Features
------------
* Docker image based on ubuntu:22.04 built and push to github packages (`PR100 <https://github.com/wavespectra/wavespectra/pull/100>`_).

Internal Changes
----------------
* Stop pinning netcdf4, opendap issue seems to be fixed.
* Remove numpy from pyproject.toml since numba installs specific versions (Fixes `GH95 <https://github.com/wavespectra/wavespectra/issues/95>`_)
* Move content of tox.ini into pyproject.toml.

3.15.1

___________________

New Features
------------
* New reader `read_ww3_station`_ for WW3 stations spectral files from GFS / NOAA by
`Matthew Iannucci`_ (`PR92 <https://github.com/wavespectra/wavespectra/pull/92>`_).

Internal Changes
----------------
* Changes to all netcdf- and zarr-based, and some ascii-based reader functions to allow
providing file objects. This allows reading from remote files without downloading
them first, e.g. from Google Cloud Storage or AWS S3 by providing a fsspec file
object. By `Matthew Iannucci`_ (`PR92 <https://github.com/wavespectra/wavespectra/pull/92>`_).
* Replace deprecated `date_parser` argument in pandas.read_csv calls by `date_format`
(`GH90 <https://github.com/wavespectra/wavespectra/issues/90>`_).

.. _`Matthew Iannucci`: https://github.com/mpiannucci
.. _`read_ww3_station`: https://github.com/wavespectra/wavespectra/blob/master/wavespectra/input/ww3_station.py

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.