- 积分
- 128
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-9-9
- 最后登录
- 1970-1-1
|
发表于 2014-10-9 23:12:46
|
显示全部楼层
楼主解决问题了吗?
运行ncl
Variable: times
Type: string
Total Size: 40 bytes
5 values
Number of Dimensions: 1
Dimensions and sizes: [5]
Coordinates:
Number Of Attributes: 2
description : times in file
_FillValue : missing
(0) 2005-08-28_00:00:00
(1) 2005-08-28_03:00:00
(2) 2005-08-28_06:00:00
(3) 2005-08-28_09:00:00
(4) 2005-08-28_12:00:00
fatal:Dimension sizes on right hand side of assignment do not match dimension sizes of left hand side
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 61 in file WRF_track1
然而第61行的时间是
fs = systemfunc("ls wrfout*00")
nfs= dimsizes(fs)
if(nfs .ne. ndate) then
print("Check input data:"+nfs+" .ne. "+ndate)
end if
do ifs=0,nfs-1
f = addfile(fs(ifs)+".nc","r")
time(ifs) = wrf_user_list_times(f)
; print(time(ifs))
slp2d = wrf_user_getvar(f,"slp",0)(61行)
这样的时间问题该如何解决?? |
|