- 积分
- 308
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-9-3
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2016-5-5 11:20:41
|
显示全部楼层
感谢,可是我用rcm2point的时候好像还是有数组问题,官网标注的lat2d应该是二维的,但是我这样提出来的并不是,报错:
fatal:Number of dimensions in parameter (0) of (rcm2points) is (1), (2) dimensions were expected
fatal:["Execute.c":7743]:Execute: Error occurred at or near line 11 in file ceshi.ncl
代码:
f=addfile("/home/YJ/Data/mqpf_20160502_2000.nc","r")
PRE=f->qpf_ml
lat2d=f->lat
lon2d=f->lon
xy= asciiread("/home/YJ/sta_all.dat",(/2408,5/),"float")
station=xy(:,0)
LAT=xy(:,3)
LON=xy(:,2)
HEIGHT=xy(:,4)
fo = rcm2points(lat2d,lon2d,PRE, LAT, LON,0) |
|