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:
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:
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pyvortex-0.3.0.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|