- 积分
- 128
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-4-9
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
fil1 = ('3B-DAY.MS.MRG.3IMERG.20140420-S000000-E235959.V04.nc4');
prep=ncread(fil1,'precipitationCal');
lat=ncread(fil1,'lat');
lon=ncread(fil1,'lon');
[xx,yy]=meshgrid(lat,lon);
x=-89.95:0.025:89.95;
y=-179.95:0.025:179.95;
[xi,yi]=meshgrid(x,y);
vq=interp2(xx,yy,prep,xi,yi);
error:
Error using griddedInterpolant
The grid vectors do not define a grid of points that match the given values.
Error in interp2>makegriddedinterp (line 228)
F = griddedInterpolant(varargin{:});
Error in interp2 (line 136)
F = makegriddedinterp(X, Y, V, method,extrap);
Error in bilinear (line 9)
vq=interp2(xx,yy,prep,xi,yi);
|
|