- 积分
- 6956
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-9-7
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
想把一个1度x1度的数据插值到0.5度x0.5度的分辨率上
----------------------------------------读入所选择区域数据-----------------------------------------------
f=addfile(path+"sh.nc","r")
xx=month_to_season(f->sh(:,79:115,274:315),"JJA")
x=xx(1:32,:,:)
lon=f->lon
lat=f->lat
----------------------------------------------构造出所选区域新的高分辨率经纬度-----------------
newlon=fspan(95.25,135.25,81)
newlat=fspan(20.25,55.25,71)
;printVarSummary(x)
;exit
sh=linint2_Wrap(lon,lat,x,False,newlon,newlat,0)
但运行的时候指出在linint2_Wrap这一行报错:
fatal:linint2: The rightmost dimensions of fi must be nyi x nxi, where nyi and nxi are the lengths of yi and xi respectively
fatal:Execute: Error occurred at or near line 4334 in file 、$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
实在没发现哪里有问题了,请教下各位
谢谢!
|
|