pysteps / README.md
Zhongning's picture
Add Chinese README section
c476ba9 verified
|
Raw History Blame Contribute Delete
5.08 kB
metadata
license: apache-2.0
language:
  - en
tags:
  - OneScience
  - Earth Science
  - Precipitation Nowcasting
  - Probabilistic Forecasting
  - Radar
  - STEPS
frameworks: PyTorch

pysteps

Model Introduction

pysteps is an open-source framework for probabilistic precipitation nowcasting. This reproduction focuses on optical flow, cascade decomposition, AR(2), and STEPS ensemble generation.

Paper: Pysteps: an open-source Python library for probabilistic precipitation nowcasting (v1.0)
https://doi.org/10.5194/gmd-12-4185-2019

Model Description

The method was proposed by teams from the Finnish Meteorological Institute, MeteoSwiss, ETH Zurich, Colorado State University, and collaborators. It estimates motion, cascade, and autoregressive parameters online from five-minute radar sequences collected in several countries. It supports one- to three-hour probabilistic precipitation nowcasting and ensemble uncertainty analysis.

Usage Instructions

hf download OneScience-Group/pysteps --local-dir ./pysteps
cd pysteps

Environment Dependencies

Hardware Requirements

  • A GPU or DCU is recommended.
  • A CPU can be used for connectivity validation with the default small-sample configuration.
  • DCU users should install DTK 25.04.2 or a compatible OneScience-recommended version first.

DCU Environment

# Activate DTK and Conda first
conda create -n onescience311 python=3.11 -y
conda activate onescience311
pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

GPU Environment

# Activate Conda first
conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12
conda activate onescience311
pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai
python scripts/fake_data.py
python scripts/train.py
torchrun --standalone --nproc_per_node=2 scripts/train.py
python scripts/inference.py
python scripts/result.py

STEPS has no offline gradient training. Inference generates a finite ensemble with shape [24,12,128,128], and evaluation reports RMSE and spread.

Trained Weights

No weights are bundled under weight/. pysteps estimates parameters online and does not use pretrained neural-network weights; the official software is available at https://github.com/pySTEPS/pysteps.

Citation and License

This repository is an independent engineering reproduction of the public pysteps specifications.

The original paper is licensed under CC BY 4.0 and the official pysteps software under BSD-3-Clause; the paper, software, and radar data retain their respective terms.


中文说明

模型简介

pysteps 是一个用于概率降水临近预报(nowcasting)的开源框架。本次复现重点关注光流、级联分解、AR(2) 和 STEPS 集合生成。

论文《Pysteps:用于概率降水临近预报的开源 Python 库(v1.0)》
https://doi.org/10.5194/gmd-12-4185-2019

模型描述

该方法由芬兰气象研究所、MeteoSwiss、苏黎世联邦理工学院、科罗拉多州立大学的团队及合作者提出。它利用多个国家采集的 五分钟间隔的 雷达序列在线估计运动、级联和自回归参数,支持 一至三小时的 概率降水临近预报及集合不确定性分析。

使用说明

hf download OneScience-Group/pysteps --local-dir ./pysteps
cd pysteps

环境依赖

硬件要求

  • 建议使用 GPU 或 DCU。
  • 可以使用 CPU 在默认小样本配置下进行连通性验证。
  • DCU 用户应先安装 DTK 25.04.2 或 OneScience 推荐的兼容版本。

DCU 环境

# Activate DTK and Conda first
conda create -n onescience311 python=3.11 -y
conda activate onescience311
pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai

GPU 环境

# Activate Conda first
conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12
conda activate onescience311
pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai
python scripts/fake_data.py
python scripts/train.py
torchrun --standalone --nproc_per_node=2 scripts/train.py
python scripts/inference.py
python scripts/result.py

STEPS 无需离线梯度训练。推理(Inference)生成形状为 [24,12,128,128] 的有限集合,评估报告 RMSE 和集合离散度。

训练权重

weight/ 下没有随附的权重。pysteps 在线估计参数,不使用预训练的神经网络权重。官方软件见 https://github.com/pySTEPS/pysteps.

引用与许可证

本仓库依据公开的 pysteps 规范进行了独立工程复现。

原论文采用 CC BY 4.0 授权,官方 pysteps 软件采用 BSD-3-Clause 授权,论文、软件和雷达数据各自适用其条款。