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

Metadata

Release files for pyvortex 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyvortex 0.3.0
File Size Uploaded
pyvortex-0.3.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyvortex 0.3.0
File Interpreter ABI Platform
pyvortex-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / pyvortex-0.3.0.tar.gz

Download URL pyvortex-0.3.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26dd1364992ae252d75c37ba3b0d0880a0c96c574302b833b4fb1d4eaade90f2
BLAKE2b-256 checksum
How to use checksums
726417895eab780bdc5b3f6556be1ba6826cab4a779e9fe80200a144ad838ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release files / pyvortex-0.3.0-py3-none-any.whl

Download URL pyvortex-0.3.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0da4fe253dbcbb6a26ca0e93fa1dc189b49ce94507c8a253a5c2735ee9856814
BLAKE2b-256 checksum
How to use checksums
8ab134c2f12a088ca26c1e87b4c9878d35a59e64c29260667803a804c2d8f372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page