%function analyze_this(info, dirs)

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

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

%%---V1--------------------------------------------------------------------
tb_V1Fullpage(dims,[xb.data(1,2).value(1,:,:); xb.data(1,2).value(end,:,:)],dirs);
tb_V1DeltaRMean(dims,xb.data(1,2).value,dirs);
tb_V1AMean(dims,xb.data(1,2).value,dirs);
tb_V1Bottom(dims,xb.data(1,2).value+0.45,dirs);

% tekst:
% - aanleiding
% - opstelling
% - proeven programma
% - beschrijving resultaten
% - (conditionele interpretatie resultaten)