Skip to main content

radar data processing

Project description

Welcome to METRADAR📡

🚀 Quick start

📡metradar 主要面向一线气象工作者,提供简单易用的python接口,用于读取、处理和可视化中国天气雷达数据,并利用国际成熟的雷达工具包如pyart、wradlib、pydda、pysteps构建了质量控制、降水反演、风场反演、临近预报等工程。

✨强烈推荐先从examples目录下的所有notebook入手!

✨由于很多算法功能都是以完整项目形式共享,因此,建议用户将整个代码包从github上下载到本地进行后续开发!

📚主要功能包括

  • 1,雷达数据下载,自动站数据下载,下载功能集成在nmc_met_io工具包中;
  • 2,雷达基数据的读取(中国气象局最新的标准数据格式FMT)、绘图;
  • 3,ROSE PUP 产品读取、绘图;
  • 4,雷达拼图解码、绘图,支持SWAN格式拼图、中国气象探测中心拼图等;
  • 5,雷达和自动站综合分析及绘图,自动站数据诊断分析包括散度、涡度计算、等值线客观分析等。
  • 6,雷达质控、批量绘图、三维组网产品制作、降水估测、三维风场反演、回波临近预报、雷达和自动站时间序列图等,其中部分算法以项目形式开源,提供一键式处理流程。

🛠️Install

Using the fellowing command to install packages:

  pip install metradar

📂若要构建全功能运行环境,建议安装顺序如下:

  • conda create -n radar312 python=3.12
  • conda activate radar312
  • conda install -c conda-forge pysteps -y
  • pip install metradar
  • conda install -c conda-forge arm_pyart -y
  • conda install -c conda-forge gdal -y
  • pip install tensorflow
  • pip install tensorflow-probability
  • pip install tf_keras

📜设置配置文件

  • 在系统用户目录下("C:\Users\用户名"(windows)或"/home/用户名/"(Linux)), 建立文件夹".metradar"(若Windows下无法直接创建, 在命令窗口中输入mkdir .metradar创建)
  • 在".metradar"中创建文本文件"config.ini", 内容模板为:
# 用于metradar相关参数设置
# 建议使用vscode进行编辑,或notepad++等编辑器进行编辑
# RESOURCES_PATH路径下存放了各种资源文件,包括地图、字体、色标等
[SETTING]
RESOURCES_PATH = /home/wjzhu/metradar/resources

⚠️注意事项:

  • 资源文件RESOURCES 目录下的stations目录下的文件都是样例文件,不代表真实坐标,使用时,请自行按照同样的格式准备站点文件。
  • 样例测试数据需要单独下载,链接:https://github.com/zhuwenjian/metradar_testdata

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

metradar-0.1.8.2.tar.gz (14.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metradar-0.1.8.2-py3-none-any.whl (154.0 kB view details)

Uploaded Python 3

File details

Details for the file metradar-0.1.8.2.tar.gz.

File metadata

  • Download URL: metradar-0.1.8.2.tar.gz
  • Upload date:
  • Size: 14.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for metradar-0.1.8.2.tar.gz
Algorithm Hash digest
SHA256 17feb12abb7c4322674c322ce33961acabc528bffad445e50e613ec0738799c9
MD5 b5ce5072563bde395abd706b89418d3c
BLAKE2b-256 1bcba633eadf53a724cd08383ebd6f28ad2176c32b9e3eee3eb7625418c59cc4

See more details on using hashes here.

File details

Details for the file metradar-0.1.8.2-py3-none-any.whl.

File metadata

  • Download URL: metradar-0.1.8.2-py3-none-any.whl
  • Upload date:
  • Size: 154.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for metradar-0.1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48bb86261856efd9b35355f4a6409e8c5ad17b252dd1376729db5565eefdbe88
MD5 f54c34ed9b8d7161afb5712cdac68683
BLAKE2b-256 25f83b701de7ba24630611bc26e9fedd81527ccdc9a077485b09164529b07453

See more details on using hashes here.

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