Giter Site home page Giter Site logo

leo-rain / oceanwaves-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openearth/oceanwaves-python

0.0 1.0 0.0 2.79 MB

Toolbox to handle ocean waves datasets

Home Page: http://oceanwaves.readthedocs.io

License: MIT License

Python 20.02% Jupyter Notebook 79.98%

oceanwaves-python's Introduction

CircleCI Codecov ReadTheDocs

PyPI PyPI_versions PyPI_status PyPI_format

License

oceanwaves-python

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/

oceanwaves-python's People

Contributors

hoonhout avatar caiostringari avatar gerbenjdeboer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.