登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
这个例子读取OMI卫星Swath数据中的CloudFaction变量并绘图。
脚本程序:
- #Add data file
- folder = 'D:/Temp/hdf/'
- fns = 'OMI-Aura_L2-OMNO2_2008m0720t2016-o21357_v003-2008m0721t101450.he5'
- fn = folder + fns
- f = addfile(fn)
- lon_v = f['Longitude']
- lat_v = f['Latitude']
- lon = lon_v[:,:]
- lat = lat_v[:,:]
- vname = 'CloudFraction'
- v = f[vname]
- data = v[:,:]*0.001
- #Plot
- axesm()
- mlayer = shaperead('D:/Temp/map/country1.shp')
- geoshow(mlayer)
- #layer = scatterm(lon, lat, data, edge=False)
- layer = surfacem(lon, lat, data)
- colorbar(layer)
- title('OMI - ' + vname)
- axism()
|