- 积分
- 5447
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-9-25
- 最后登录
- 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/wrf/WRF_contributed.ncl"
begin
f = addfile("/gpfshome/mamj/students/yangxm/data/wrfv/wrfout_d02_2014-12-25_12:00:00","r")
x = f->TS
x = x-273.15
wks = gsn_open_wks("ps","conLev_1")
gsn_define_colormap(wks,"BlWhRe")
color1 = NhlNewColor(wks,0.75,0.75,0.75)
res = True
res@mpFillOn = True
res@mpFillColors = (/ -1,-1,103,-1/)
res@mpMinLatF = 20.
res@mpMaxLatF = 50.
res@mpMinLonF = 80.
res@mpMaxLonF = 130.
res@cnLevelSelectionMode = "ManualLevels"
res@cnMinLevelValF = -5.
res@cnMaxLevelValF = 30.
res@cnLevelSpacingF = 5.
plot = gsn_csm_contour_map_ce(wks,x,res)
end
报错是:fatal:syntax error: procedure print expects 1 arguments, got 0
fatal:error at line 3
另外还有个问题是怎么用NCL查看wrfout里面变量用什么符号表示??
|
|