- 积分
- 38
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-6-9
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-1-3 22:16:22
|
显示全部楼层
我改成这样:
lon=ispan(100,145,1)
lat=ispan(20,45,1)
data=asciiread("./aaa.txt",(/26,26/),"float")
olon=new(26,"float")
olat=new(26,"float")
data1=new((/26,26/),"float")
do i=0,25
olon=100+i
end do
do j=0,25
olat=20+j
end do
olon!0="lon"
olon@long_name="lon"
olon@units="degree_east"
olon&lon=olon
olat!0="lat"
olat@long_name="lat"
olat@units="degree_north"
olat&lat=olat
data@_FillValun=-9999
rscan =(/10,5,3/)
data1 =obj_anal_ic_deprecated(lon,lat,data,olon,olat,rscan,False)
它的报错是:Number of dimensions in parameter (2) of (obj_anal_ic_deprecated) is (2), (1) dimensions were expected
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 34 in file 1bb.ncl
|
|