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

不同版本绘制剖面有明显差别问题 #91

Open
lingyunfeng opened this issue Apr 19, 2023 · 4 comments
Open

不同版本绘制剖面有明显差别问题 #91

lingyunfeng opened this issue Apr 19, 2023 · 4 comments

Comments

@lingyunfeng
Copy link

lingyunfeng commented Apr 19, 2023

发现主要是1.4.1版本与1.4.2、1.5.1、1.6.1、1.7.2等版本绘制的剖面明显要完整很多,不知道1.4.2之后版本是哪些代码有改导致的,请检查下。1.6.1是否可以绘制的剖面和1.4.1一致?

@lingyunfeng
Copy link
Author

1.4.1
vcs20180527_PyCINRAD1 4 1

1.4.2
vcs20180527_PyCINRAD1 4 2

1.6.1
vcs20180527_PyCINRAD1 6 1

1.7.2
vcs20180527_PyCINRAD1 7 2

@lingyunfeng
Copy link
Author

lingyunfeng commented Apr 19, 2023

剖面起始位置
start_cart=(109.20, 19.09)
end_cart=(109.89, 19.64)
spacing=500
使用的雷达基数据如下:
Z_RADR_I_Z9072_20180527100300_O_DOR_SA_CAP.bin.zip

@CyanideCN
Copy link
Owner

翻了一下,1.4.1和1.4.2的区别大概在 cc88c9b

-        r[np.isnan(r)] = 0
+        r = np.ma.masked_invalid(r)

之前的剖面只支持反射率,所以把没有值的地方填成0也不影响,但是后续加上了其他要素的剖面,填0就不行了。这个改动应该会影响contourf的逻辑。

@lingyunfeng
Copy link
Author

谢谢大牛,我再试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants