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.

If you're on a Linux-based system, pyTRACK can be installed by simply running (Best to use a conda environment with Python>=3.9)

pip install track-pylib

If that doesn't work, git clone the stable branch of this repository and pip install from the base directory.

git clone -b stable https://github.com/Ai33L/pyTRACK.git
cd pyTRACK
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 anywhere, 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 if you don't have them already. The easiest way to do this is work on a conda environment and run

conda install conda-forge::python-cdo
conda install conda-forge::pynco

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: track_pylib-0.4.4.tar.gz
  • Upload date:
  • Size: 169.5 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.4.tar.gz
Algorithm Hash digest
SHA256 42f96fce51b0bf63bb631c60bfb6f8452d2413a18da746715364fdbd07d6e953
MD5 1dd6f00a87fb15b68bff080111282b4b
BLAKE2b-256 ed97d9f18f5bd0942c4804e5423d61bb2bba4ee76906c1a3784e9dea8412df72

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: track_pylib-0.4.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 681e2e07ea278026fda84ac878ac2b59e75091ec8a9d52c3c411922df05cab8c
MD5 888a664db8d792a78f235ab5735d3705
BLAKE2b-256 b0ebdbf557f2dbfa7de81dce391eca9db964fabb785801f04cd88a96fea006c9

See more details on using hashes here.

Provenance

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