- 积分
- 223
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-1-13
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
setfileoption("nc", "FileStructure", "Advanced")
fn = "SAND5min.nc"
fi = addfile(fn, "r")
setfileoption("nc", "Format", "NetCDF4Classic")
printVarSummary(fi)
depth = fi->depth
lat2d = fi->lat
lon2d = fi->lon
;sand3d(depth,lat,lon)
sand3d = fi->SAND
lat0 = (/34.9/)
lon0 = (/-97.9/)
sandpoint = rcm2points(lat2d,lon2d,sand3d(0,:,:),lat0,lon0,0)
如上想把格点数据插值到格点上去,但是始终运行不对。提示错误如下:
fatal:Number of dimensions in parameter (0) of (rcm2points) is (1), (2) dimensions were expected
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 29 in file readsand.ncl
请各位看看是哪里的错??
|
|