CoolFace
Modelpublic

huilinsigehigh/precipitation-nowcasting-sevir

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
Model Card

Precipitation Nowcasting โ€” SEVIR Benchmark Collection

A collection of deep learning models for radar precipitation nowcasting evaluated on the SEVIR VIL dataset.

๐Ÿ—‚๏ธ Models

ModelVenueTypeInput โ†’ OutputResolutionWeights
DiffCastCVPR 2024Residual Diffusion + PhyDNet5 โ†’ 20 frames128ร—128Official
PreDiffNeurIPS 2023VAE + CuboidTransformer DDPM7 โ†’ 6 frames128ร—128Official
FlowCastICLR 2026Conditional Flow Matching13 โ†’ 12 frames384ร—384Official
NowcastNet-12in12outFine-tunedGAN + optical flow12 โ†’ 12 frames384ร—384Self-trained
NowcastNet-13in36outFine-tunedGAN + optical flow13 โ†’ 36 frames384ร—384Self-trained

๐Ÿ“ Directory Structure

โ”œโ”€โ”€ diffcast/
โ”‚   โ”œโ”€โ”€ weights/diffcast_phydnet_sevir128.pt   # 754 MB
โ”‚   โ”œโ”€โ”€ run.py
โ”‚   โ””โ”€โ”€ diffcast.py
โ”œโ”€โ”€ prediff/
โ”‚   โ”œโ”€โ”€ weights/
โ”‚   โ”‚   โ”œโ”€โ”€ vae/pretrained_sevirlr_vae_8x8x64_v1.pt          # 322 MB
โ”‚   โ”‚   โ”œโ”€โ”€ earthformerunet/pretrained_sevirlr_earthformerunet_v1.pt  # 522 MB
โ”‚   โ”‚   โ””โ”€โ”€ alignment/pretrained_sevirlr_alignment_avg_x_cuboid_v1.pt # 34 MB
โ”‚   โ””โ”€โ”€ test_prediff_sevir.py
โ”œโ”€โ”€ flowcast/
โ”‚   โ”œโ”€โ”€ weights/
โ”‚   โ”‚   โ”œโ”€โ”€ autoencoder/early_stopping_model.pt   # 979 MB
โ”‚   โ”‚   โ””โ”€โ”€ flowcast/early_stopping_model.pt      # 880 MB
โ”‚   โ””โ”€โ”€ test_flowcast_sevir.py
โ””โ”€โ”€ nowcastnet/
    โ”œโ”€โ”€ weights/
    โ”‚   โ”œโ”€โ”€ nowcastnet_12in12out_sevir_best_mse0.00653.ckpt   # 231 MB
    โ”‚   โ””โ”€โ”€ nowcastnet_13in36out_sevir_best_mse0.02209.ckpt   # 232 MB
    โ”œโ”€โ”€ nowcastnet_model.py
    โ””โ”€โ”€ train_nowcastnet_sevir.py

๐Ÿ“Š Results on SEVIR VIL Test Set

ModelAvg CSIโ†‘CSI@16CSI@74CSI@133CSI@160CSI@181CSI@219
DiffCast0.16570.35060.26940.15500.11580.08250.0209
PreDiff (Unaligned)0.36550.71930.61180.32440.24740.20180.0884
PreDiff (Aligned)0.3050โ€”โ€”โ€”โ€”โ€”โ€”
NowcastNet and FlowCast CSI results to be added.

๐Ÿš€ Quick Start

DiffCast

bash
cd diffcast
pip install -r requirements.txt  # see DiffCast repo
python run.py --backbone phydnet --use_diff --eval \
  --ckpt_milestone weights/diffcast_phydnet_sevir128.pt

PreDiff

bash
cd prediff
python test_prediff_sevir.py
# Requires: SEVIR dataset at C:/Users/.../datasets/sevir

FlowCast

bash
cd flowcast
python test_flowcast_sevir.py
# Requires: preprocessed SEVIR H5 (see preprocess_sevir_test.py)

NowcastNet

bash
cd nowcastnet
python train_nowcastnet_sevir.py --eval \
  --ckpt weights/nowcastnet_12in12out_sevir_best_mse0.00653.ckpt

๐Ÿ“– References

  • โ€”DiffCast: Yu et al., "DiffCast: A Unified Framework via Residual Diffusion for Precipitation Nowcasting", CVPR 2024
  • โ€”PreDiff: Gao et al., "PreDiff: Precipitation Nowcasting with Latent Diffusion Models", NeurIPS 2023
  • โ€”FlowCast: Bhattacharya et al., "FlowCast: Scaling Precipitation Nowcasting with Conditional Flow Matching", ICLR 2026
  • โ€”NowcastNet: Zhang et al., "Skilful nowcasting of extreme precipitation with NowcastNet", Nature 2023

License

Model weights follow their original licenses. Code in this repository is MIT licensed.