- 积分
- 11831
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-4-26
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
用ncl提取wrfout数据中的100m风的变量,但是总是报错,试了半天也不知道怎么改正过来,希望有大神能帮助解决一下这个问题,以下我的代码及报错信息:
Z = wrf_user_getvar(fl ,"z",-1)
u100 = wrf_user_intrp3d(u, Z, "h",100,0.,False)
u100@lon2d = xlon
u100@lat2d = xlat
v100 = wrf_user_intrp3d(v, Z, "h",100,0.,False)
v100@lon2d = xlon
v100@lat2d = xlat
报错信息:
fatal:Dimension size mismatch, dimension (3) of left hand side reference does not have the same size as the right hand side reference after subscripting.
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 246 in file /gpfshpc/home/yuze6054/software/ncl/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 113 in file /gpfshpc/home/yuze6054/szm/nclwork/szwrf/scripts/site_meo_xs.ncl
113行:u100 = wrf_user_intrp3d(u, Z, "h",100,0.,False)
|
|