%function analyze_this(info, dirs)

clear; clc;
info.runs = 'V3';
dirs.output = 'F:/400_Matlab/Testbed/V3/Ouput/nc/';
dirs.data = 'F:/400_Matlab/Testbed/V3/Input/Measurements/';

%% ===Load XBeach output===================================================
dims = xb_read_dims(dirs.output);
xb = xb_read_output(dirs.output, 'vars', {'zb'});

%%---V3--------------------------------------------------------------------
tb_V3Fullpage(dims,[xb.data(1,2).value(1,:,:); xb.data(1,2).value(end,:,:)],dirs);
tb_V3DeltaRMean(dims,xb.data(1,2).value,dirs);
tb_V3AMean(dims,xb.data(1,2).value,dirs);
tb_V3Bottom(dims,xb.data(1,2).value+0.45,dirs);