需要下载最新版本的MeteoInfo。
MOD08:
- f = addfile('D:/Temp/hdf/MOD08_D3.A2015307.051.2015308233133.hdf')
- v_aod = f['Optical_Depth_Land_And_Ocean_Mean']
- v_aod.setdimrev(0, True)
- aod = v_aod[[15,55],[70,140]]
- #Plot
- axesm()
- china = shaperead('D:/Temp/map/bou2_4p.shp')
- geoshow(china, linecolor='gray')
- world = shaperead('D:/Temp/map/country1.shp')
- geoshow(world)
- levels = arange(0, 1.0, 0.05)
- layer = contourfm(aod, levels, interpolate=True)
- #layer = imshowm(aod, levels)
- title('Aerosol Optical Depth at 550 nm')
- colorbar(layer)
MOD04:
- f = addfile('D:/Temp/hdf/MOD04_L2.A2015307.0225.006.2015309143224.hdf')
- lon = f['Longitude'][:,:]
- lat = f['Latitude'][:,:]
- data = f['Optical_Depth_Land_And_Ocean'][:,:]
- axesm()
- mlayer = shaperead('D:/Temp/map/country1.shp')
- geoshow(mlayer, edgecolor='k')
- layer = surfacem(lon, lat, data)
- colorbar(layer)
|