Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加转换为pyart.core.Radar类的函数 #41

Open
1 of 2 tasks
CyanideCN opened this issue Sep 6, 2019 · 9 comments
Open
1 of 2 tasks

添加转换为pyart.core.Radar类的函数 #41

CyanideCN opened this issue Sep 6, 2019 · 9 comments
Labels
component:io help wanted Extra attention is needed

Comments

@CyanideCN
Copy link
Owner

CyanideCN commented Sep 6, 2019

转换之后可以方便的利用pyart中的各种计算函数。但是国内双偏振雷达每层径向数不同,不知道如何解决

  • 转换cinrad.io.CinradReader

  • 转换cinrad.io.StandardData

@CyanideCN CyanideCN added help wanted Extra attention is needed component:io labels Sep 6, 2019
@YvZheng
Copy link

YvZheng commented Sep 6, 2019

国内SA/B雷达的径向速度分辨率为250m,反射率为1000m,在pyart的Radar类中,仅提供了一个保存距离的变量range,目前看来暂时无法将国内雷达数据直接转化为Radar类中,除非将反射率插值至250m

@CyanideCN
Copy link
Owner Author

CyanideCN commented Sep 6, 2019 via email

@bugsuse
Copy link
Contributor

bugsuse commented Sep 10, 2019

如果可以的话,或许我可以协助实现此功能 @CyanideCN

@CyanideCN
Copy link
Owner Author

@bugsuse
非常感谢!我目前设想的是给cinrad.io.CinradReader(老版本各种格式的数据)和cinrad.io.StandardData(新版本标准格式数据)这两个类分别加自己的bound method。我最近在尝试标准格式的转换,你有兴趣的话可以实现一下CinradReader类的。
PS:可能CinradReader类里面会缺Radar类要求的参数,你可以在cinrad.io._radar_struct文件夹里面找到每种雷达对应的dtype然后在CinradReader类里面添加上对应的属性

@lovechang1986
Copy link

这个转换的代码我都写了,但是没有用这个库,由于我不是特别了解雷达,所以仅仅写了基本的参数。稍后用这个库重构一下提交一个pull request,算作一个参考吧。

@lovechang1986
Copy link

如果您自己做建议首先读取一个标准的Radar数据,然后依次检查这个数据里包含的内容,然后根据内容逐步添加即可。

@CyanideCN
Copy link
Owner Author

@lovechang1986 标准数据类的转换我基本已经做好了,老版本数据我现在主要是在纠结插值的问题

@lovechang1986
Copy link

不太懂雷达哈,直接zoom(ref,4)或者repeat4次不行?

CyanideCN added a commit that referenced this issue Nov 1, 2019
@wanghui0225
Copy link

pyart现在可以直接调用啦?如何实现的

CyanideCN pushed a commit that referenced this issue May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:io help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants