-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
71 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ dist | |
docs/.vuepress/dist | ||
docs/.vuepress/.cache | ||
docs/.vuepress/.temp | ||
|
||
.temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#main-title{ | ||
margin-top: 180px; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# 简介 | ||
PyCINRAD是一个专为解码和可视化中国新一代天气雷达(CINRAD)数据而设计的Python模块。它堪称气象数据领域的超级明星,为气象研究人员、天气预报员及气象爱好者提供了一个高效、便捷的解决方案。 | ||
`PyCINRAD`是一个专为解码和可视化中国新一代天气雷达(CINRAD)数据而设计的Python模块。它堪称气象数据领域的超级明星,为气象科研人员、天气预报员及气象爱好者提供了一个高效、便捷的雷达数据解决方案。 | ||
|
||
这个库支持多种CINRAD雷达数据格式的读取,无论是旧版本还是新标准的数据,PyCINRAD都能轻松应对。通过其强大的数据处理能力,用户可以快速提取所需信息,进行复合反射率、回波顶高、垂直积分液态含水量等多种雷达衍生产品的计算。此外,数据校正功能如速度退模糊等,确保了数据的准确性和可靠性。 | ||
* **数据支持全面** 无论是旧版本还是新标准的数据,PyCINRAD都能轻松应对。通过其强大的数据处理能力,用户可以快速提取所需信息,进行复合反射率、回波顶高、垂直积分液态含水量等多种雷达衍生产品的计算。此外,数据校正功能如速度退模糊等,确保了数据的准确性和可靠性。 | ||
|
||
PyCINRAD在数据可视化方面同样表现出色。它支持PPI(平面位置显示)和Section(剖面)等多种可视化方式,用户可以自定义绘图参数,实现高度个性化的数据展示。这些功能使得气象数据的解读和分析变得更加直观和便捷。 | ||
* **出色的可视化** 支持PPI(平面位置显示)和Section(剖面)等多种可视化方式,用户可以自定义绘图参数,实现高度个性化的数据展示。这些功能使得气象数据的解读和分析变得更加直观和便捷。 | ||
|
||
PyCINRAD不仅功能强大,而且易于安装和使用。它兼容Python 3.9及以上版本,支持通过pip快速安装。此外,丰富的文档和示例代码,以及活跃的开发者社区,使得用户在使用过程中能够获得及时的帮助和支持。 | ||
* **易于安装和使用** 它兼容Python 3.9及以上版本,支持通过pip快速安装。此外,丰富的文档和示例代码,以及活跃的开发者社区,使得用户在使用过程中能够获得及时的帮助和支持。 | ||
|
||
作为一个开源项目,PyCINRAD对所有用户免费开放,鼓励社区贡献和改进。它的应用场景广泛,包括但不限于气象研究、天气预报、灾害预警以及教育培训等。无论是在学术研究还是实际应用中,PyCINRAD都展现出了其无与伦比的价值和潜力。 | ||
* **永久开源** 作为一个开源项目,PyCINRAD对所有用户免费开放,鼓励社区贡献和改进。它的应用场景广泛,包括但不限于气象研究、天气预报、灾害预警以及教育培训等。无论是在学术研究还是实际应用中,PyCINRAD都展现出了其无与伦比的价值和潜力。 | ||
|
||
PyCINRAD是一个功能全面、易于上手且高度可定制的气象雷达数据处理与可视化库。它让气象数据的处理和分析变得更加简单、高效和直观,是气象领域不可或缺的一款工具。 | ||
地址:`https://github.com/CyanideCN/PyCINRAD` | ||
PyCINRAD是一个功能全面、易于上手且高度可定制的气象雷达数据处理与可视化库。它让气象数据的处理和分析变得更加简单、高效和直观,是气象领域不可或缺的一款工具。 | ||
源码地址:[https://github.com/CyanideCN/PyCINRAD](https://github.com/CyanideCN/PyCINRAD) | ||
QQ群:`480305660` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# 安装&升级 | ||
Python版本要求: 3.9+ | ||
目前cinrad版本为v1.9.1 | ||
Python版本要求: `3.9+` 至于`cartopy`,`numpy`,`matplotlib`等库,安装最新版即可。 | ||
目前cinrad版本为`v1.9.1` | ||
```python | ||
pip install cartopy | ||
pip install cinrad -U | ||
``` | ||
网速慢的话,在上面命令后边加上 -i https://pypi.tuna.tsinghua.edu.cn/simple | ||
网速慢的话,在上面命令后边加上 `-i https://pypi.tuna.tsinghua.edu.cn/simple` | ||
```python | ||
# 有很多朋友Windows下安装cartopy失败,建议安装anaconda来处理。 | ||
conda install cartopy -c conda-forge | ||
# 同时需要安装 Visual studio 生成工具; | ||
# `https://blog.csdn.net/zymhhh/article/details/140642202` | ||
# 参考这个方法,把右边那些该勾上的都勾上。特别是windows xx SDK | ||
``` | ||
如果要以下新功能,则需要到github下载更新(请先安装git) | ||
-> 组合反射率拼图:在mergeCR分支 | ||
如果要以下新功能,则需要到github下载分支进行更新([请先安装git(安装教程)](https://blog.csdn.net/weixin_42242910/article/details/136297201)) | ||
* 组合反射率拼图:在mergeCR分支 | ||
```bash | ||
pip install git+https://github.com/pysoer/PyCINRAD.git@mergeCR -U --force-reinstall --no-deps | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,41 @@ | ||
# 支持的文件类型 | ||
PyCINRAD支持读取以下文件类型,大部分可以从文件名中判断出来。 | ||
# 数据读取 | ||
PyCINRAD有以下读取接口,文件类型大部分可以从文件名中判断出来。 | ||
```md | ||
cinrad.io.StandardData | ||
cinrad.io.StandardPUP | ||
cinrad.io.MocMosaic | ||
cinrad.io.SWAN(filename,product="CR") | ||
cinrad.io.CinradReader(filename,radar_type="CC") | ||
cinrad.io.PhasedArrayData | ||
cinrad.io.PUP | ||
cinrad.io.read_auto | ||
``` | ||
#### 1. 标准格式基数据StandardData | ||
标准格式基数据: 标准格式文件名中有“FMT”、基数据是O_DOR | ||
Z_RADR_I_Z9999_20231025220414_O_DOR_SA_CAP_FMT.bin | ||
`Z_RADR_I_Z9999_20231025220414_O_DOR_SA_CAP_FMT.bin` | ||
#### 2. 标准格式产品StandardPUP | ||
标准格式产品: 标准格式文件名中有“FMT”、产品数据是P_DOR | ||
这里文件名中有HCL,代表是HCL水凝物分类产品 | ||
Z_RADR_I_Z9999_20231231160439_P_DOR_SAD_HCL_250_230_5_FMT.bin | ||
`Z_RADR_I_Z9999_20231231160439_P_DOR_SAD_HCL_250_230_5_FMT.bin` | ||
下面这种老格式的也是标准格式产品 | ||
Z9737_20231126150649Z_CR_00_37 | ||
#### 3. 探测中心天气雷达拼图系统v3产品.MocMosaic | ||
ACHN表示是全网拼图,CREF表示是产品类型是CREF组合反射率 | ||
Z_RADA_C_BABJ_20231212010615_P_DOR_ACHN_CREF_20231212_010000 | ||
`Z_RADA_C_BABJ_20231212010615_P_DOR_ACHN_CREF_20231212_010000` | ||
#### 4. SWAN | ||
以前的老SWAN3产品.MCR表示拼图组合反射率 | ||
Z_OTHE_RADAMCR_20220525085400.bin | ||
`Z_OTHE_RADAMCR_20220525085400.bin` | ||
#### 5. 老格式的国产基数据.CinradReader | ||
和标准格式的唯一区别是文件名中没有“FMT”(这里指的是大部分新情况) | ||
Z_RADR_I_Z9731_20240511070524_O_DOR_SAD_CAP.bin | ||
`Z_RADR_I_Z9731_20240511070524_O_DOR_SAD_CAP.bin` | ||
#### 6. 相控阵PhasedArrayData | ||
标准格式的相控阵雷达基数据(2023以后). | ||
文件名一般有AXPT,就是纳睿雷达的产品。 | ||
Z_RADR_I_ZBJ02_20210815155836_O_DOR_DXK_CAR | ||
Z_RADR_I_ZA601_20240415183600_O_DOR_AXPT0364_CRA_FMT | ||
Z_RADR_I_ZS999_20231220000000_O_DOR_AXPT0364_CRA_.bz2 | ||
`Z_RADR_I_ZBJ02_20210815155836_O_DOR_DXK_CAR` | ||
`Z_RADR_I_ZA601_20240415183600_O_DOR_AXPT0364_CRA_FMT` | ||
`Z_RADR_I_ZS999_20231220000000_O_DOR_AXPT0364_CRA_.bz2` | ||
#### 7: PUP | ||
NEXRAD Level 3 (NIDS) product files. | ||
已经被淘汰的格式,一言难尽,格式太乱,能用则用吧。 | ||
#### 万能读取read_auto | ||
如果你搞不清楚,那请用cinrad.io.read_auto(your_radar_file)来读取。 | ||
#### 总结,有以下接口: | ||
```md | ||
cinrad.io.StandardData | ||
cinrad.io.StandardPUP | ||
cinrad.io.MocMosaic | ||
cinrad.io.SWAN(filename,product="CR") | ||
cinrad.io.CinradReader(filename,radar_type="CC") | ||
cinrad.io.PhasedArrayData | ||
cinrad.io.PUP | ||
cinrad.io.read_auto | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 番外篇 | ||
## 基数据编辑 | ||
修改标准格式基数据,替换里面的站名站号等基本信息 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 番外篇 | ||
## 基数据编辑 | ||
修改标准格式基数据,替换里面的站名站号等基本信息 | ||
* 修改标准格式基数据,替换里面的站名站号等基本信息 | ||
|
||
|
||
```python | ||
import struct | ||
import bz2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters