Commit 0b4612c9 authored by Pierre Cazenave's avatar Pierre Cazenave

Make the paths for the data relative to the location of the script.

parent 30c8feda
Pipeline #144 skipped
......@@ -29,10 +29,10 @@ clc
[base, subname] = fileparts(mfilename('fullpath'));
addpath(fullfile(base, '../../fvcom_prepro'))
load(fullfile(base, '../data/get_POLCOMS_tsobc_data.mat'));
% Perform the interpolation using the new routine.
obc_ts = {'/tmp/pica/fvcom-toolbox/tests/data/'};
obc_ts = {fullfile(base, '../data/')};
Mobj_new = get_POLCOMS_tsobc(Mobj, obc_ts);
% Check we have the temperature, salinity and time fields in the new mesh
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