Commit 20f5e1d7 authored by Pierre Cazenave's avatar Pierre Cazenave

Flip the arrays returned so we can interpolate properly.

parent 65e2f250
......@@ -330,7 +330,7 @@ for t = 1:nt
end
data_west.(fields{aa}).(fields{aa}) = ...
netcdf.getVar(ncid, varid, start, count, 'double');
flipud(netcdf.getVar(ncid, varid, start, count, 'double'));
if length(dimids) == 4
start = [...
......@@ -354,7 +354,7 @@ for t = 1:nt
length(data_time_idx)];
end
data_east.(fields{aa}).(fields{aa}) = ...
netcdf.getVar(ncid, varid, start, count, 'double');
flipud(netcdf.getVar(ncid, varid, start, count, 'double'));
scratch.(fields{aa}).(fields{aa}).(fields{aa}) = ...
cat(1, ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment