- 积分
- 4322
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-4-19
- 最后登录
- 1970-1-1
|
发表于 2014-9-25 10:22:24
|
显示全部楼层
本帖最后由 yang69can 于 2014-9-25 10:24 编辑
求版主帮助解决问题,这是什么原因?谢谢
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/cnmap/cnmap.ncl"
begin
fnl = addfile("fnl_20140912_00_00_c.grib1","r")
rh = fnl->R_H_3_ISBL(8,:,:)
wks = gsn_open_wks("png","china")
res = True
res@gsnDraw = False
res@gsnFrame = False
cnres = res
cnres@china = True
cnres@river = True
cnres@province = True
cnres@nanhai = True
res_cn = res
res_cn@cnFillOn = True
res_cn@cnLinesOn = False
res_cn@cnLevelSelectionMode = "ExplicitLevels"
res_cn@cnLevels = (/60,70,80,90,95,98/)
res_cn@gsnSpreadColorStart = 129
res_cn@gsnSpreadColorEnd = 225
res_cn@lbOrientation = "Vertical"
map = gsn_csm_map(wks,cnres)
plot_pw = gsn_csm_contour(wks,rh,res_cn)
overlay(map,plot_pw)
draw(map)
frame(wks)
end
|
|