Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Library with wave tools like ESTELA

Project description

olas

pypi package version conda-forge version python supported shield

Library with wave tools. At the moment it only includes a prototype of ESTELA.

Documentation: https://jorgeperezg.github.io/olas

Installation

Installation from PyPI with pip (or similar tools) is straightforward:

pip install olas

It can also be installed with conda from conda-forge (feedstock):

conda install -c conda-forge olas

Basic usage

Calculate and plot ESTELA maps for a location near Santander using the sample netcdf files.

NOTE: a longer period should to be considered to get meaningful results.

Using the command line interface:

# estela -h to check additional options
estela "./tests/sample_files/test20180101T??.nc" 44 -4 --outdir "."

Or python functions:

from olas.estela import calc, plot
estelas = calc("./tests/sample_files/test20180101T??.nc", 44, -4)
plot(estelas, outdir=".")  # for plotting base maps
plot(estelas, gainloss=True, outdir=".")  # for plotting GL maps

Supported by

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