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.3.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.3-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: track_pylib-0.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1c717a1e4986b813c46b26a5db49a8d1be9fbdfdd2ea8fa55e6b33eba56fc5cb
MD5 0ed6b04306684e16755b13e742dcbdb0
BLAKE2b-256 be936c7822434242731b226d4c3ea8a88dca7da671c7470c1a8038860c3d8c4f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: track_pylib-0.4.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d118255743818e86015daf614ff51abc67a5424b0af85016f53366cb8f00b5d
MD5 0ca4e6e7bebce7a52c5427cbb187ce0e
BLAKE2b-256 68e00b74e8181d61fe4b4c436aa578f5ea1af062b264e897efa224f1556ddddc

See more details on using hashes here.

Provenance

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