- 积分
- 1970
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-9-25
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2020-1-6 16:29:59
|
显示全部楼层
贴一下程序:begin
year = ispan(1981, 2010, 1)
it_s = 198101
it_e = 201012
s = addfile ("E:/sjzl/NCEPI/air.mon.mean.nc", "r")
time = s->time
YYYYMM = cd_calendar(time, -1)
rec_s = ind(it_s.eq.YYYYMM)
rec_e = ind(it_e.eq.YYYYMM)
air = s->air(rec_s:rec_e,:,:,:)
printVarSummary(air)
u1 = month_to_season(air, "JJA" )
copy_VarMeta(air(0,:,:,:), u1(0,:,:,:))
u1!0 = "year"
u1&year = year
wks=gsn_open_wks("pdf","E:/sjzl/tu/444")
gsn_define_colormap(wks,"Rainbow")
res =True
res@pmTickMarkDisplayMode ="Always"
res@cnFillOn =True
res@cnLinesOn =True
res@tiMainString ="111"
res@tiMainFontHeightF =0.02
res@cnLevelSpacingF =4
res@mpDataBaseVersion ="MediumRes"
res@mpDataSetName ="Earth..4"
res@mpMinLatF =15
res@mpMaxLatF =90
res@mpMinLonF =60
res@mpMaxLonF =150
res@mpOutlineOn =True
res@cnLineLabelInterval =1
plot=gsn_csm_contour_map(wks, air, res)
end
求大佬救命呀 |
|