使用ARM_Pyart访问2级雷达数据中的其他扫描

问题描述

全部

我正在尝试使用arm_pyart从2级雷达数据文件访问中翼龙扫描。我的脚本当前仅绘制以文件命名的基本扫描,但是我知道文件包含其他扫描。我已经阅读了所有pyart文档,但找不到任何说明如何访问这些其他扫描的内容。任何在正确方向上的帮助/指向都会有所帮助。下面是我的python代码的示例。

# Import Libraries
import matplotlib.pyplot as plt 
import cartopy.crs as ccrs 
import pyart 
import cartopy 

# Level 2 file name.
file = 'KGRR20160820_173712_V06'

# Takes the date and time from the file name. 
# This is used for saving a figure (Not shown).
name=str(file[4:12])
name1=str(file[13:19])

# Reads the data.
radar=pyart.io.read_nexrad_archive(filename)
display = pyart.graph.RadarMapdisplay(radar)

# Creates map of SW Michigan.
fig=plt.figure(figsize=[16,16]) 
ax = plt.subplot(221,projection=ccrs.PlateCarree())
ax.set_extent([-86.7,-84.8,41.5,43.5])
ax.add_feature(cartopy.feature.STATES,linewidth=0.5,zorder=10)
ax.coastlines(linewidth=0.5,resolution='10m',zorder=0)
ax.add_feature(cartopy.feature.BORDERS,zorder=0)


# Plots the radar reflectivity factor for the 0.5 tilt.   
display.plot_ppi_map(radar.fields['reflectivity']['data'][sweep_1],vmin=10,vmax=70,title='Base \n Reflectivity',colorbar_label='dBZ',cmap=pyart.graph.cm.NWSRef,embelish=False)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)