A toolbox for ocean wave datasets
Project description
This toolbox provides a generic data storage object for ocean waves data (OceanWaves). OceanWaves is built upon the xarray.Dataset data storage object, but defines special variables for time, location, frequency and direction. Many of its functionalities are obtained from the pyswan toolbox, originally developed by Gerben de Boer, and the swantools toolbox, originally developed by Caio Eadi Stringari.
The OceanWaves object supports various standard conversions, like:
From significant wave height to spectral
From omnidirectional to directional
From directional to omnidirectional
From spectral to significant wave height
From spectral to spectral wave period
From spectral to peak wave period
From directional to peak wave direction
From degrees to radians
Automated unit conversion
The OceanWaves object supports various standard plotting methods, like:
Polar subplots for directional data on multiple locations/times
Polar subplots on a map
Plots supported by xarray.Dataset and Seaborn
The OceanWaves object can be instantiated from:
Raw data
SWaN 1D/2D spectral or table files
An xarray.Dataset object
Another OceanWaves object
The OceanWaves object can be written to:
SWaN 1D/2D spectral files
Output supported by xarray.Dataset (e.g. netcdf)
Usage examples can be found in the IPython notebook notebooks/oceanwaves.ipynb.
Source code documentation is hosted at http://oceanwaves.readthedocs.io/
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.
Source Distributions
Built Distribution
Hashes for oceanwaves-1.0.0rc6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 877e0c43c1cd54dc95bd404cfa3f1963828c3917b82c1b126acf7c5c1b2e358f |
|
MD5 | 7c038066251e4d1c9a817eef727f6a5b |
|
BLAKE2b-256 | 62e93ac79c3a12546fbd7c2374939e6881a13aa0089dc50d941f801f1523b892 |