TRDAmarker = 'c^';
PrintDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profielen';
SaveDirExt = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\extrapolatie';
extr = true;

% Name    = 'Schiermonnikoog';
% ID      = 2000560;
% station1 = 'Steunpunt Waddenzee';
% station2 = 'Borkum';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 2;
% Years   = [1999:2001 2003:2013];
% ReturnFreqs = [5e-4; 5e-5; 1e-5];
% TRDAmarker = 'm^';
% 
% Name    = 'Ameland';
% ID      = 3001300;
% station1 = 'Steunpunt Waddenzee';
% station2 = 'Borkum';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 2;
% Years   = [1999:2001 2003:2013];
% ReturnFreqs = [5e-4; 5e-5; 1e-5];
% TRDAmarker = 'm^';

% Name    = 'Terschelling';
% ID      = 4001460;
% station1 = 'Steunpunt Waddenzee';
% station2 = 'Eierlandse Gat';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 2;
% Years   = [1999:2001 2003:2013];
% ReturnFreqs = [5e-4; 5e-5; 1e-5];
% TRDAmarker = 'm^';

% Name    = 'Vlieland';
% ID      = 5004898;
% station1 = 'Steunpunt Waddenzee';
% station2 = 'Eierlandse Gat';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 2;
% Years   = [1999:2001 2003:2013];
% Years2  = [1991:2001 2003:2013];
% ReturnFreqs = [5e-4; 5e-5; 1e-5];
% TRDAmarker = 'm^';

% Name    = 'Texel';
% ID      = 6002011;
% station1 = 'Den Helder';
% station2 = 'Eierlandse Gat';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 2;
% Years   = [1999:2001 2003:2013];
% Years2  = [1991:2001 2003:2013];
% ReturnFreqs = [2.5e-4; 2.5e-5; 1e-5];
% TRDAmarker = 'm^';

% Name    = 'Egmond';
% ID      = 7003975;
% station1 = 'Den Helder';
% station2 = 'IJmuiden';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 3;
% Years   = [1999:2001 2003:2010 2012:2013];
% Years2  = [1991:2001 2003:2010 2012:2013];
% ReturnFreqs = [1e-3; 1e-4; 1e-5];
% extr = false;

Name    = 'Katwijk';
ID      = 8008950;
station1 = 'Hoek van Holland';
station2 = 'IJmuiden';
SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
TargetPfID = 3;
Years   = [1999:2001 2003:2013];
Years2  = [1991:1998 2000:2001 2003:2013];
ReturnFreqs = [1e-3; 1e-4; 1e-5];
extr = false;

% Name    = 'sGravenzande';
% ID      = 9011450;
% station1 = 'Hoek van Holland';
% station2 = 'IJmuiden';
% SaveDir = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\normaal';
% SaveDirPV = 'n:\Projects\1209000\1209436\F. Other information\Temporele Effecten\Figuren\Rt_diagrammen\profiel_variatie';
% TargetPfID = 3;
% Years   = [1999:2001 2003:2013];
% Years2  = [1991:2001 2003:2013];
% ReturnFreqs = [1e-3; 1e-4; 1e-5];

% plotRt(FORMresult,'Years',Years,'ReturnFreqs',ReturnFreqs,'JarkusID',ID, ...
%     'FigName',[Name '_Rt'],'Print',true,'PrintEN',true,'PrintDir',SaveDir, ...
%     'plotTRDA2006',true, 'plotMKL', false, 'TRDAmarker', TRDAmarker)
% 
% RtDesignPoints(FORMresult,'Years',Years,'JarkusID',ID,'station1',station1, ...
%     'station2',station2,'ReturnFreqs',ReturnFreqs,'PrintDir',SaveDir, ...
%     'Print',true,'FigName',[Name '_DP'], 'TRDAmarker', TRDAmarker, 'TargetFreqID', TargetPfID)

% plotRtProfVar(FORMresult, FORMresultPV,'Years',Years,'ReturnFreqs',ReturnFreqs, ...
%     'JarkusID',ID,'FigName',[Name '_Rt'],'Print',true,'PrintEN',true,'PrintDir',SaveDirPV, ...
%     'plotTRDA2006',true, 'plotMKL', false,'TargetFreqID',TargetPfID, 'TRDAmarker', TRDAmarker)

% plotRtExtrapolate(FORMresultPV,'Years',Years2,'ReturnFreqs',ReturnFreqs,'JarkusID',ID,'FigName',[Name '_Rt'],'Print',true,'PrintEN',true,'PrintDir',SaveDirExt,'plotTRDA2006',true, 'plotMKL', false,'TRDAmarker', TRDAmarker,'ExtrRFID',TargetPfID,'Extrapolate',extr)
plotRtProfiles(FORMresultPV,'Years',Years2,'ReturnFreqs',ReturnFreqs,'JarkusID',ID,'PrintDir',PrintDir,'Print',true,'station1',station1,'station2',station2,'FigName',Name,'JarkusURL','http://dtvirt5.deltares.nl:8080/thredds/dodsC/opendap/rijkswaterstaat/jarkus/profiles/transect_r2013_filled.nc')