Skip to main content

Python-wrapped implementation of the TRACK software

Project description

pyTRACK

TRACK [^1] [^2] [^3] [^4] is a powerful storm tracking software package that automatically identifies and tracks storm features in model and observational data. pyTRACK is intended to be an implementation of TRACK on Python that ports over most features of TRACK, while being easy to install and use.

To install pyTRACK, simply run (Best to use a conda environment with Python>=3.9)

pip install track-pylib

Alternatively, you can also git clone this repository and from its base folder run

pip install -e .

The 'stable' branch contains the latest tested code, and the 'main' branch is used actively for development.

Then from a Python terminal anywhhere, run

from pyTRACK import *
track()

This should start the TRACK namelist and should behave exactly like if you ran bin/track.linux from the compiled TRACK folder. The input and output files are assumed to be at the current working directory.

Running track() should work without any additional packages. However, some other pyTRACK functionalities depend on having cdo and nco installed on the system. You will be prompted to install these as and when you need them. For the cdo functionality specifically, it's best to work on a conda environment and run

conda install python-cdo

when prompted.

pyTRACK also supports some pre-set workflows, and is under active development. To see a list of workflows currently available, and for a more extensive documentation, check out here.

[^1]: Hodges, K.I.: A General Method for Tracking Analysis and Its Application to Meteorological Data. Monthly Weather Review 122(11), 2573–2586 (1994) https://doi.org/10.1175/1520-0493(1994)122%3C2573:AGMFTA%3E2.0.CO;2 . Chap.Monthly Weather Review

[^2]: Hodges, K.I.: Feature Tracking on the Unit Sphere. Monthly Weather Review 123(12), 3458–3465 (1995) https://doi.org/10.1175/1520-0493(1995)123%3C3458:FTOTUS%3E2.0.CO;2 . Chap. Monthly Weather Review

[^3]: Hodges, K.I.: Adaptive Constraints for Feature Tracking. Monthly Weather Review 127(6), 1362–1373 (1999) https://doi.org/10.1175/1520-0493(1999)127%3C1362:ACFFT%3E2.0.CO;2 . Chap. Monthly Weather Review

[^4]: Hodges, K.I.: Spherical Nonparametric Estimators Applied to the UGAMP Model Integration for AMIP. Monthly Weather Review 124(12), 2914–2932 (1996) https://doi.org/10.1175/1520-0493(1996)124%3C2914:SNEATT%3E2.0.CO;2 .Chap. Monthly Weather Review

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

track_pylib-0.3.0.tar.gz (168.3 kB view details)

Uploaded Source

Built Distribution

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

track_pylib-0.3.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: track_pylib-0.3.0.tar.gz
  • Upload date:
  • Size: 168.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for track_pylib-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d47f18fbd3c684315046015a9a6d3a34c0ace50bad94922ff63665d0bebefa73
MD5 4a448fcdcdf4c8d7badd25317a71dd7f
BLAKE2b-256 c4f39783743cb85860603fb373a10f0aedb80b44d678e5df1300e1741d6ec551

See more details on using hashes here.

Provenance

The following attestation bundles were made for track_pylib-0.3.0.tar.gz:

Publisher: publish.yml on Ai33L/pyTRACK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: track_pylib-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for track_pylib-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eed7d352a9e1b07c16a989afa03d558a350bfdfcdc462e19522e2b75f30e6620
MD5 58889ecb34d482a8a3b5c8a1d91bdbc1
BLAKE2b-256 9c84c99e230ad9ba9125335ee3352f21701e997cdaa2e58049c78969fe8f1049

See more details on using hashes here.

Provenance

The following attestation bundles were made for track_pylib-0.3.0-py3-none-any.whl:

Publisher: publish.yml on Ai33L/pyTRACK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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