- 积分
- 66
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-12-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
不多说,程序如下
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
begin
cdf_file = addfile("$NCARG_ROOT/uwnd.10m.gauss.2011.nc","r")
cdf_file1 = addfile("$NCARG_ROOT/vwnd.10m.gauss.2011.nc","r")
u=cdf_file->uwnd(0,:,:)
v=cdf_file1->vwnd(0,:,:)
lat = cdf_file->lat
lon = cdf_file->lon
u= u*0.00999999977648258+225.449996948242
v= v*0.00999999977648258+225.449996948242
xwks = gsn_open_wks("x11","ccr")
map = gsn_vector_map(xwks,u,v,False)
end
运行结果说:
fatal:["NclVar.c":1382]:Assignment type mismatch, right hand side can't be coerced to type of left hand side
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 12 in file ccr.ncl
求各位大神这是什么错误呢
|
|