Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

oceanwaves-1.0.0rc6-py2.py3-none-any.whl (25.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page