Commit 479804e6 authored by Pierre Cazenave's avatar Pierre Cazenave

Transpose the lat and longitude grids to match their geographic orientation

parent 60e1dbfa
...@@ -88,7 +88,7 @@ lon_varid = netcdf.inqVarID(nc_u10, 'lon'); ...@@ -88,7 +88,7 @@ lon_varid = netcdf.inqVarID(nc_u10, 'lon');
nceplatvector = netcdf.getVar(nc_u10, lat_varid); nceplatvector = netcdf.getVar(nc_u10, lat_varid);
nceplonvector = netcdf.getVar(nc_u10, lon_varid); nceplonvector = netcdf.getVar(nc_u10, lon_varid);
[nceplon, nceplat] = meshgrid(nceplonvector, nceplatvector); [nceplon, nceplat] = meshgrid(nceplonvector', nceplatvector');
% Find the necessary variables % Find the necessary variables
u10_varid_NCEP = netcdf.inqVarID(nc_u10, 'uwnd'); u10_varid_NCEP = netcdf.inqVarID(nc_u10, 'uwnd');
......
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