- 积分
- 32392
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-11
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2015-5-2 11:22:16
|
显示全部楼层
本帖最后由 chongzika 于 2015-5-2 11:24 编辑
理解错了,我以为是cdo出的问题!没感觉啥具体的错误啊,这是具体的脚本: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"
; =================================================;
begin
f = addfile("2001-2010.nc","r")
dstsfmbl = f->DSTSFMBL(0,:,:) ; read in example data [2D only here]
mbl = dstsfmbl*1000*3600*24*365
wks = gsn_open_wks("eps","mbl3") ; open a ps file
gsn_define_colormap(wks,"MPL_YlOrBr") ; choose colormap
res = True ; plot mods desired
res@tiMainString = "mbl" ; title
res@cnFillOn = True ; turn on color fill
res@mpLandFillColor = "white"
res@gsnRightString = "t/km:S:2:N:"
; =================================================;
res@mpMinLatF = 20
res@mpMaxLatF = 60
res@mpMinLonF = 70
res@mpMaxLonF = 130
; =================================================;
res@gsnAddCyclic = False ;
res@mpDataSetName = "Earth..4" ; This new database contains
; divisions for other countries.
res@mpDataBaseVersion = "MediumRes" ; Medium resolution database
res@mpOutlineOn=True ; Turn on map outlines
res@mpOutlineSpecifiers=(/"China","Xinjiang Uygur"/) ;China:states
; =================================================;
res@pmTickMarkDisplayMode = "Always"
plot = gsn_csm_contour_map_ce(wks, mbl, res) ; create plot
end
|
|