登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 MeteoInfo 于 2024-1-8 20:35 编辑
HY-2B卫星搭载了一台Ku波段微波散射计(HSCAT-B),主要用于全球海面风场测量。数据是hdf5格式,下面的示例脚本用到了经纬度变量(wvc_lon, wvc_lat)和风速风向变量(wind_speed_selection, wind_dir_selection)。
- fn = 'D:/Temp/FY/H2B_OPER_SCA_L2B_OR_20210819T225905_20210820T004328_14133_pwp_250_07_owv.h5'
- f = addfile(fn)
- wdir = f['wind_dir_selection'][:]
- wspeed = f['wind_speed_selection'][:]
- wdir[wdir<0] = nan
- wspeed[wspeed<0] = nan
- lon = f['wvc_lon'][:]
- lat = f['wvc_lat'][:]
- lon[lon>1000] = nan
- lat[lat>1000] = nan
- geoshow('country')
- barbs(lon, lat, wdir, wspeed, wspeed, isuv=False)
- colorbar(shrink=0.8)
- xlim(-96, -80)
- ylim(18, 30)
|