Wavespectra is an open source project that was started at MetOcean Solutions and open sourced in April 2018. In July 2019 it was moved into the wavespectra github open source organisation and transitioned into a fully community developed project. This changelog covers the release history since v3.0 when wavespectra was open-sourced.
- New method to output spectra in native WW3 format.
Fix xarray version until breaking changes with 0.15.1 are taken care of.
- Avoid index duplication when merging datasets in to_octopus function.
- Fix xarray at 0.15.0 for now as 0.15.1 introduces many breaking changes.
- New method read_era5 to read spectra in ERA5 format by John Harrington.
- New method read_wavespectra to read files already in wavespectra convention.
- Import accessors within try block in __init__.py so install won't break.
- Implemented coveralls.
- Added some more tests.
The first PyPI release from new wavespectra github organisation.
- Drop support for Python 2.
- Drop support for Python < 3.6.
- Add method in SpecDataset accessor to plot polar wave spectra, api borrowed from xarray.
- New sel method in SpecDataset accessor to select sites using different methods.
- Support for zarr wave spectra datasets from either local or remote sources.
- New read_spotter function to read spectra from Spotter file format, currently only reading as 1D.
- Add read_dataset function to convert existing dataset from unknown file into SpecDataset.
- Python Notebooks split into a new notebooks repository within the wavespectra organisation.
- New branch pure-python with fortran watershed algorithm replaced by python. This code is ~3x slower than the fortran one but it is easier to install particularly if the system does not have fortran compiler. We will make an effort to keep this branch in sync with Master.
- Redefined autodocs.
- Consolidate history to link to github commits from all contributors.
- Fix error in partition with dask array not supportting item assignment.
- Fix docs building, currently working from pure-python branch due to gfortran dependency.
- Decouple file reading from accessor definition in input functions so existing datasets can be converted.
- Compute method _twod lazily.
- Replace drop calls to fix deprecation warnings.
- Consolidate changelog in history file.
- Building with travis and tox.
- Adopt black code formatting.
- Set up flake8.
The last PyPI release from old metocean github organisation.
- Add support to Python 3.
- Support SWAN Cartesian locations.
- Support energy unit in SWAN ASCII spectra.
- Add dircap_270 option in read_swan.
- Ensure lazy computations in swe method.
- Remove inplace calls that will deprecate in xarray.
- Ensure datasets are loaded lazily in read_swan and read_wwm.
- Fix tp-smooth bug caused by float32 dtype.
- Function read_triaxys to read spectra from TRIAXYS file format.
- Fix bug with frequency and energy units in read_wwm.
- Ensure dataset from swan netcdf has site coordinate.
- Function read_wwm to read spectra from WWM model format.
- Convert direction to degree in read_ncswan.
- Function read_ncswan to read spectra from SWAN netcdf model format.
- Ensure lazy computation in uv_to_spddir.
- Unify library PyPI release versions.
- Fix bug in read_swans when handling swan bnd files with ntimes argument.
- Use 10m convention in default wind standard names.
- Adjust default standard name for dm.
- Fix renaming option in stats method.
- Allow choosing maximum number of partitions in partition method.
- Function to read spectra in cf-json formatting.
- Fix but in read_swan when files have no timestamp.
- Ensure data is not loaded into memory in read_ww3.
- Sphinx autodoc.
- Method read_dictionary to define SpecDataset from python dictionary.
- Set pytest as the testing framework and add several new testings.
- Add notebooks.
- Get rid of left over freq coordinate in hs method.
- Fix calculation in _peak method.
- Stop misleading warning in tp method.
- Fix to hs method.
- Replace obsolete sort method by xarray's sortby.
- Falster calculation in tp.
- Improvements to SpecDataset wrapper.
This major release marks the migration from the predecessor pyspectra library, as well as the open-sourcing of wavespectra and first PyPI release.
- Library restructured with plugins input / output modules .
- New _peak method to return the true peak instead of the maxima.
- Making reading functions available at module level.
- Ensure slicing won't break due to precision (xarray bug).
- Rename package.