- 积分
- 57946
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-6-21
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2025-12-18 09:42:30
|
显示全部楼层
 - fn = 'D:/Temp/satellite/FY/FY4B-_AGRI--_N_DISK_1050E_L2-_CTT-_MULT_NOM_20250303000000_20250303001459_4000M_V0001.NC'
- f = addfile(fn)
- data = f.CTT[::-1]
- data[data==65535] = nan
- data[data==-999] = nan
- lon0 = f.nominal_satellite_subpoint_lon.values[0]
- height = f.nominal_satellite_height.values[0]
- ny, nx = data.shape
- ex = (nx * 4000) / 2.
- sx = -ex
- ey = (ny * 4000) / 2.
- sy = -ey
- x = linspace(sx, ex, nx)
- y = linspace(sy, ey, ny)
- #Plot
- proj = geolib.Geostationary(central_longitude=lon0, satellite_height=height)
- ax = axesm(projection=proj, frameon=False, axison=False)
- geoshow('coastline', color='k')
- grid(True, tickvisible=True, tickposition='all')
- levs = arange(160, 320, 2)
- layer = imshow(x, y, data, levs, transform=proj)
- colorbar(layer, shrink=0.8, xshift=18)
- title('FY4B L2 CTT')
|
|