- 积分
- 48
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-9-17
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
ncl初学者
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/shea_util.ncl"
begin
in = addfile("DATA/sst.mon.ltm.1981-2010.nc","r")
t = in->sst
wks = gsn_open_wks("ps","sst")
gsn_define_colormap(wks,"BlAqGrYeOrRe")
res = True
res@tiMainString = "sst"
res@cnLevelSpacingF = 5
res@gsnFrame = True
res@gsnDraw = True
res@cnFillOn = True
res@gsnSpreadColors = True
res@pmLableBarDisplayMode = Always
res@pmLableBarSide = Bottom
res@pmLabelBarWidthF = 0.4
res@pmLabelBarHeightF = 0.1
do n=1,30
plot = gsn_csm_contour_map_ce(wks,t(n,:,:),res)
end
运行后说:
Copyright (C) 1995-2015 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.3.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
fatal:syntax error: line 23 in file test before or near \n
end
---^
fatal:error in statement
fatal:syntax error: line -1 before or near
^
fatal:error in statement
请问哪里错了啊
|
|