%**************************************************************************
% CLUSTER project: Config file curlometer          Autor: Christian Maszl * 
% Unit System = [SI]                  Mail: e0025754@student.tuwien.ac.at *
%**************************************************************************

%**************************************************************************
% PATH DEFINITIONS for INPUT DATA
%**************************************************************************

% Set path variable to the binary data files
     datapath='/data/cluster/DDS/';
% Select the year to analyse 
     year='02';
% Select the mode to analyse (fn, ...) 
     mode='fn'; 
% * for 01,02,03 and 04 ..... DON'T EDIT
     extension='*';
     
%**************************************************************************
% PATH DEFINITIONS for OUTPUT DATA
%**************************************************************************

% Type of the output datafiles: '-ascii' or '-mat' = binary data
% (Binary output is faster!)
     datatype='-mat'; 

% All paths are relative to the path of the m-File directory 

% Logfile-directory (myfilelist, errorlog)
     logfilepath='../logfiles/';
% Output-directory (jav,divB and B in mat or ascii format)
     outputspath='../outputdata/';
% Directory for temporary data
     tempdirpath='../temp/';
     
%**************************************************************************
% CONSTANTS / MISCELLANEOUS
%**************************************************************************

% Induction constant
     y0= 1.256637061E-6; %[y0]=Vs/Am
% Numberformat on the screen
     format long;

%**************************************************************************
% ADVANCED SETTINGS 
%**************************************************************************

% The default operating mode is to analyse the data of a whole day
% 00:00:00-24:00:00. With these settings you can choose an arbitray
% starttime and duration. DEFAULT: advanced=[0 0 0 86400];

% Format: [hh mm ss (duration)=sec]
     advanced=[00 00 00 86400];
% The interval from the start time should not be longer as day itself.

%**************************************************************************
% INFORMATION ABOUT THE SOFTWARE 
%**************************************************************************

% The following subroutines are necessary for the us of the program

% mainprogram.m .......... The mainprogram
% syscheck.m ............. Load configfile.m and check for proper
%                          values input.
% filelist.m ............. Creates a list of all available files.
% userinput.m ............ Ask for days to analyse 
% yuri.m ................. Interface to the program getData. Fetch
%                          data from binary files. 
% sorting.m .............. Sync. the data of the four satellites
%                          together.
% curlB.m ................ Apply the curlometer method to the data.
% datatodisk.m ........... Store the computed data to the HD.
% logfiles.m ............. Store the filelist and the error log.


