Commit b175de75 authored by Pierre Cazenave's avatar Pierre Cazenave

Fix error following the new pc struct formta

parent 1be0882e
......@@ -100,7 +100,7 @@ netcdf.close(nc)
[~, ~, nz, nt] = size(pc.ETW);
% Make rectangular arrays for the nearest point lookup.
[lon, lat] = meshgrid(pc.lon, pc.lat);
[lon, lat] = meshgrid(pc.lon.data, pc.lat.data);
% Find the nearest POLCOMS point to each point in the FVCOM open boundaries
fvlon = Mobj.lon(Mobj.obc_nodes(Mobj.obc_nodes ~= 0));
......
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