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 conda-forge::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.: 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

[^4]: 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

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.4.0.tar.gz (169.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.4.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: track_pylib-0.4.0.tar.gz
  • Upload date:
  • Size: 169.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.4.0.tar.gz
Algorithm Hash digest
SHA256 e7bb682c1005c23455991081cc3eee3e881f2d1a71be55a05982783b20594c28
MD5 b430d8ec2d61dfde5796d690736311c4
BLAKE2b-256 be2e28f842bf7a209035e945bed89945af8759e8c45a3120cdddb6ff8957259b

See more details on using hashes here.

Provenance

The following attestation bundles were made for track_pylib-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: track_pylib-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35bbaf474de53f67b9915dfcc3d2e99cb606a4283d90637de06f3a6aee95156d
MD5 2c8b2c84b266f26d967199320269f6fc
BLAKE2b-256 d0e66e20d9a4721b6dc7965d2556facf5ce65bf6c5493b61797f13f67d396b23

See more details on using hashes here.

Provenance

The following attestation bundles were made for track_pylib-0.4.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