Published September 10, 2026 | Version 1.0.1

Preserving Multiscale Radar Structure with Patch-Token Decoding for Lightning Nowcasting Over the Greater Bay Area

  • 1. Department of Building Environment and Energy Engineering, The Hong Kong Polytechnic University, Hong Kong SAR, China
  • 2. Pengcheng Laboratory, Shenzhen, China
  • 3. Shenzhen National Climate Observatory, Meteorological Bureau of Shenzhen Municipality, Shenzhen, China
  • 4. Shenzhen Meteorological Bureau, Shenzhen, China

Description

Reference implementation of MS-PDViT, a vision transformer that predicts dense pixel-level lightning probability fields for six 6-minute lead times (t+6 to t+36 min) from weather radar alone. Each spatial patch is decoded independently rather than reconstructing the entire output field from a single global classification token, and two patch scales (12 and 50 pixels) are combined with fixed uniform weights.

This deposit contains source code only. The radar imagery and lightning location observations used in the accompanying paper were provided by the Shenzhen Meteorological Bureau and cannot be redistributed by the authors; see the paper's Open Research section for the data availability statement.

Accompanies the article submitted to Journal of Geophysical Research: Machine Learning and Computation.

Files

xiezheng75/transformer_lightning_nowcasting-v1.0.1.zip

Files (126.5 kB)

Additional details