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
  • pip install metradar
  • conda install -c conda-forge arm_pyart -y
  • conda install -c conda-forge cartopy -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.tar.gz (5.3 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-py3-none-any.whl (152.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metradar-0.1.8.tar.gz
  • Upload date:
  • Size: 5.3 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.tar.gz
Algorithm Hash digest
SHA256 f8fded09a6032146fb29d4cce6d480748abbcbac926fa73b2529220b918757cf
MD5 9fbadee72a8def88c761af6b04638e4e
BLAKE2b-256 3c6a575d83b57cf2871eec359f05d3c46a35941c663aaca7a598d1923b3719c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metradar-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 152.7 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-py3-none-any.whl
Algorithm Hash digest
SHA256 df98482f8729a349d485b8eeeae98674b56e892fa402b06810dad3efa1eb816a
MD5 400f459d01bb4b07c8171ef993c66bd1
BLAKE2b-256 d5338208ff90bc48d303bcca46c5232ce9d97a359fcb6070ccc135a4e679a079

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