Skip to main content

PyPI version License Downloads Code style: black


About

The module pyvortex consists of functions to calculate the equivalent latitude and edge of a polar vortex using Nash criteria.

Installation

pip install pyvortex

install the latest version using

pip install git+https://github.com/pankajkarman/pyvortex.git

Documentation

Latest documentation is available here.

Usage

pyvortex is easy to use. Just import:

import pyvortex as vr

Northern Hemisphere

Instantiate the PolarVortex class using:

pol = PolarVortex(pv, uwind, hemisphere='north')

Get equivalent latitude for the provided vorticity data as:

eql = pol.get_eql()

If you want to get both equivalent latitude and Vortex edge, just use:

eql = pol.get_edge(min_eql=30)

Example: Arctic Vortex

Southern Hemisphere

Instantiate the PolarVortex class using:

pol = PolarVortex(pv, uwind, hemisphere='south')
eql = pol.get_edge(min_eql=30)

By default, equivalent latitude and vortex edge are returned as positive latitude magnitudes. If you want signed Southern Hemisphere output, use:

pol = PolarVortex(pv, uwind, hemisphere='south', signed_output=True)
eql = pol.get_edge(min_eql=30)

This returns Southern Hemisphere equivalent latitudes and edges as negative values.

Example:

Polar Vortex

Download files

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

Source Distribution

pyvortex-0.3.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvortex-0.3.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file pyvortex-0.3.0.tar.gz.

File metadata

  • Download URL: pyvortex-0.3.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for pyvortex-0.3.0.tar.gz
Algorithm Hash digest
SHA256 26dd1364992ae252d75c37ba3b0d0880a0c96c574302b833b4fb1d4eaade90f2
MD5 fcc969b26787bbb3c219eb38bad35761
BLAKE2b-256 726417895eab780bdc5b3f6556be1ba6826cab4a779e9fe80200a144ad838ded

See more details on using hashes here.

File details

Details for the file pyvortex-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyvortex-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for pyvortex-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0da4fe253dbcbb6a26ca0e93fa1dc189b49ce94507c8a253a5c2735ee9856814
MD5 576ba742b44a965c011d2c181ec41100
BLAKE2b-256 8ab134c2f12a088ca26c1e87b4c9878d35a59e64c29260667803a804c2d8f372

See more details on using hashes here.

Supported by

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