%% RUNSCRIPT [matlab version: 7.6.0 (R2008a)]
% --------------------------------------------------
% input data
% - ascii data files for IJmuiden and Europlatform
%   specified with a number of headerlines (free)
%   1st column:  time [format: yyyymmdd]
%   2nd column:  time [format: HHMMSS]
%   3rd column:  Hs [m];
%   4th column:  Hdir [deg N];
%   5th column:  Tm02 [s];
%   6th column:  surge [m];
%
% output data
% - ascii file of the same format
% ---------------------------------------------------

%% parameters
s.StartDate         = datenum(1979,01,01);
s.EndDate           = datenum(2001,12,31);
s.Loc.X             = 102908;             % x-coordinates RD >> make sure it is in the model domain
s.Loc.Y             = 533840;             % y-coordinates RD >> make sure it is in the model domain
s.OutputFile        = 'data_PET021.asc';  % name of outputfile

% Wave time series for IJmuiden & Eirerlandse Gat & Europlatform for 1979 - 2000; 
% If required, these should be extended by user.
       
s.FileName.YM6      = 'data_YM6.asc';     % datafile IJmuiden
s.HeaderLines.YM6   = 6;                  % number of headerlines in ASCII file
s.FileName.EUR      = 'data_EUR.asc';     % datafile Europlatform
s.HeaderLines.EUR   = 6;                  % number of headerlines in ASCII file
s.FileName.ELD      = 'data_ELD.asc';     % datafile Eierlandse Gat
s.HeaderLines.ELD   = 6;                  % number of headerlines in ASCII file

%% run
Transform2hcwd(s);