Skip to content
Snippets Groups Projects
Commit 35b8d1f3 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

remove interp2 option 'nearest'

parent b6eca3b0
No related branches found
No related tags found
No related merge requests found
...@@ -84,11 +84,11 @@ for i = 1:2 ...@@ -84,11 +84,11 @@ for i = 1:2
lonc=tsg.levitus.data.WOA_LONX; lonc=tsg.levitus.data.WOA_LONX;
clim=tsg.levitus.data.(['WOA_MEAN_' para]); clim=tsg.levitus.data.(['WOA_MEAN_' para]);
clim=squeeze(clim(time_dim,depth,:,:)); clim=squeeze(clim(time_dim,depth,:,:));
meanc=interp2(lonc,latc,clim,lon,lat,'nearest'); meanc=interp2(lonc,latc,clim,lon,lat);
sclim=tsg.levitus.data.(['WOA_STD_' para]); sclim=tsg.levitus.data.(['WOA_STD_' para]);
sclim=squeeze(sclim(time_dim,depth,:,:)); sclim=squeeze(sclim(time_dim,depth,:,:));
stdc=interp2(lonc,latc,sclim,lon,lat,'nearest'); stdc=interp2(lonc,latc,sclim,lon,lat);
% Select the axes % Select the axes
% --------------- % ---------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment