Skip to main content

PyStormTracker

CI Documentation Status codecov PyPI version Conda Version GitHub License PyPI Python Version Docker GHCR DOI

PyStormTracker is a Python package for cyclone trajectory analysis. It provides cyclone detection, trajectory construction, track comparison, variable sampling, and storm track statistics for meteorological and climate datasets. The package includes a Numba implementation of the Simple Tracker used in Yau and Chang (2020) and tracking methods based on Hodges (1994, 1995, 1999). The project was initially developed at the National Center for Atmospheric Research (NCAR) during the 2015 SIParCS program.

Features

  • Simple tracking with nearest-neighbor linking; Hodges and HEALPix tracking with adaptive constraints and Modified Greedy Exchange.
  • NetCDF, GRIB, and Zarr input on regular, Gaussian, reduced-Gaussian, projected, and HEALPix grids; TrackJSON, TRACK tdump, and IMILAST track formats.
  • Spectral preprocessing, feature refinement, track comparison, variable sampling, and storm track metrics.
  • Serial, Dask, and MPI execution with Numba-accelerated numerical kernels and array-backed track storage.

Usage

PyStormTracker requires Python 3.12+.

pip install PyStormTracker

stormtracker track \
    -i data.nc \
    --variable msl \
    -o tracks.trackjson \
    -m min \
    -a hodges

Python API:

import pystormtracker as pst

tracker = pst.HodgesTracker()
tracks = tracker.track(data="data.nc", variable="msl", detection_mode="min")

See the Quickstart for installation options, CLI and Python usage, formats, sample data, and development commands.

Documentation

Documentation · Quickstart · CLI · API · Architecture · Hodges / TRACK · HEALPix · TrackJSON · Benchmarks

References

If you use PyStormTracker in research, please cite the software:

PyStormTracker was originally presented as:

  • Yau, A. M. W., K. Paul, and J. Dennis, 2016: PyStormTracker: A Parallel Object-Oriented Cyclone Tracker in Python. 96th American Meteorological Society Annual Meeting, New Orleans, LA. Zenodo, doi:10.5281/zenodo.18868625.

For SimpleTracker and storm track metrics:

  • Yau, A. M. W., and E. K. M. Chang, 2020: Finding Storm Track Activity Metrics That Are Highly Correlated with Weather Impacts. Part I: Frameworks for Evaluation and Accumulated Track Activity. J. Climate, 33, 10169–10186, doi:10.1175/JCLI-D-20-0393.1.

For the methods implemented by HodgesTracker:

PyStormTracker uses spharmgrid for spherical harmonic filtering, regridding, and wind kinematics on Gauss–Legendre and Clenshaw–Curtis grids. It uses ducc0 directly for reduced Gaussian and HEALPix grids, polar regridding, and regional cosine transforms:

For the IMILAST intercomparison:

  • Neu, U., et al., 2013: IMILAST: A Community Effort to Intercompare Extratropical Cyclone Detection and Tracking Algorithms. Bull. Amer. Meteor. Soc., 94, 529–547, doi:10.1175/BAMS-D-11-00154.1.

Additional method-specific references are given in the relevant documentation.

License

PyStormTracker is distributed under the BSD 3-Clause License.

Metadata

Release files for PyStormTracker 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyStormTracker 0.8.0
File Size Uploaded Provenance Actions
pystormtracker-0.8.0.tar.gz 3.5 MB With provenance Details for pystormtracker-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyStormTracker 0.8.0
File Interpreter ABI Platform Actions
pystormtracker-0.8.0-py3-none-any.whl Python 3 none any Details for pystormtracker-0.8.0-py3-none-any.whl

Total release size: 3.7 MB

Release files / pystormtracker-0.8.0.tar.gz

Download URL pystormtracker-0.8.0.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ed6982e1ef9f197f5326b0d5c1a2d3f4f0d3319eeccb636411a604ea43f061d9
BLAKE2b-256 checksum
How to use checksums
5a71c996adf93c0fffd1cd138e9f1df03354e2e4b350987fc516f3435e930eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / pystormtracker-0.8.0-py3-none-any.whl

Download URL pystormtracker-0.8.0-py3-none-any.whl
Size 212.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10d13036b9a77308cf516160d9fe90d7478b0eda8eb5141465f2fcea20481d6e
BLAKE2b-256 checksum
How to use checksums
2b88450189726f27e5e9a5c58ff856b6fea7815ac810a61471dcd2c2e2463a2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for PyStormTracker 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pystormtracker-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page