Library for ocean wave spectra
Project description
Python library for ocean wave spectra.
Main contents:
SpecArray: extends xarray’s DataArray with methods to manipulate wave spectra and calculate spectral statistics.
SpecDataset: wrapper around SpecArray with methods for selecting and saving spectra in different formats.
Documentation:
The documentation is hosted on ReadTheDocs at https://wavespectra.readthedocs.io/en/latest/.
Install:
Where to get it
The source code is currently hosted on GitHub at: https://github.com/wavespectra/wavespectra
Binary installers for the latest released version are available at the Python package index.
Install from pypi
# Default install, miss some dependencies and functionality
pip install wavespectra
# Complete install
pip install wavespectra[extra]
Install from sources
Install requirements. Navigate to the base root of wavespectra and execute:
# Default install, miss some dependencies and functionality
pip install -r requirements/default.txt
# Also, for complete install
pip install -r requirements/extra.txt
Then install wavespectra:
python setup.py install
# Run pytest integration
python setup.py test
Alternatively, to install in development mode:
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.