Skip to main content

Python functions for Physical Oceanography

Project description

OceanLab

Package of Python scripts for Oceanography (Python +3.6)

Code Example

Check examples folder in our github repository.

Installation

pip install OceanLab

Modules

  • OA
    • vectoa(): Objective analysis for vectorial fields;
    • scaloa(): Objective analysis for scalar fields;
  • DYN
    • dyn_amp(): Makes the projection of every dynamical mode to velocity to obtain its amplitude;
    • zeta(): Calculates the vorticity field by velocity field;
    • psi2uv(): Calculates the velocity field by stream function scalar field;
    • vmodes(): Calculates the QG pressure modes from N2 profile;
    • eqmodes(): Calculates the equatorial pressure and vertical velocity modes from N2 profile;
  • EOF
    • eoft(): Calculates the Empirical Orthogonal Functions;
    • my_eof_interp(): Fillgaps on matrix based on EOFs (translated from Cesar Rocha Matlab version);
  • UTILS
    • argdistnear(): Searchs the position of the closest points in an array to a reference point;
    • meaneddy(): Performs an eddy-mean decomposing with a low-pass filter;

Contributors

Everyone can contribute to this code. Some of functions were based on Filipe Fernandes or Cesar Rocha functions and some of them were created with help of Dante C. Napolitano, Hélio M. R. Almeida and Wandrey Watanabe at Ocean Dynamics Lab of University of São Paulo (USP).

Project details


Download files

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

Source Distribution

OceanLab-0.1.0.tar.gz (473.8 kB view hashes)

Uploaded Source

Built Distribution

OceanLab-0.1.0-py3-none-any.whl (13.8 kB view hashes)

Uploaded 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