- 积分
- 445
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-6-21
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
图如上 撒哈拉沙漠那一块 位置不对 应该是读数据的问题 可是我又找不出来 求大神们帮忙指点一下
;=============================================================
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/csm/shea_util.ncl"
;=============================================================
begin
path1="I:/wydata/cgcm/19801201/atmos.0131.gdat"
nrec=0
dims = (/8,18,64,128/)
orig1=fbindirread(path1,nrec,dims,"float")
wks=gsn_open_wks("ps","jianyancontour") ;open a workstation
gsn_define_colormap(wks,"gui_default");
res=True
res@cnFillOn=True
res@cnInfoLabelOn = False ; turn off contour info label
res@cnLinesOn =True ; turn off contour lines
res@cnLineLabelsOn = False ; turn off line labels
res@mpFillOn = False ; turn off gray continents
res@cnLevelSelectionMode="ManualLevels"
;=======全球的================================================
res@cnMinLevelValF=-60
res@cnMaxLevelValF=30
res@cnLevelSpacingF=5
res@lbLabelBarOn =True ; No single label bar
res@gsnAddCyclic =False
res@mpCenterLonF = 180 ; Centers the plot at 180
plot=gsn_csm_contour_map_ce(wks,orig1(7,10,:,:)-273.15,res)
end
|
|