disp('Read_parameters_VOCALS     dan sonde')
% *********************************************************************
% *********************************************************************
% ***  Parameter m-file flux_eval_XXX.m.               	    ***
% ***  Written by LB on July 06			                    ***
% ***                         			                    ***
% ***  Note: - Do not forget to put the character '\' at the end    ***
% *** 	   of each path!                                        ***
% ***        - Comment style is '%'	                                ***
% *********************************************************************
% *********************************************************************
% Modified by SPdeS 17 October 2008
% Paths on RHB
%
%This routine sets the parameters for the cruise.

%################## Cruise informations  ##################################################################
cruise='VOCALS';             % Cruise name  
year='2008';               % year (deprecated--make year into a double) 
yyyy='2008';               % year (string)
ship='RHB';               % Research vessel

% Default options from Simon:
plotit=true; % for making plots. Some plots inseparable from analyses will still be made.
prtit=true;  % for printing plots--ineffective unless plotit is also true
saveit=true; % for saving data files
clearit=true;% for clearing data sometimes to save memory
backup=false;% backup somthing to hard disk

%##################FLux files
way_raw_data_flux='S:\VOCALS_2008\RHB\flux\Raw\';        % Raw data path
way_proc_data_flux='S:\VOCALS_2008\RHB\flux\processed\'; % Processed data path
way_spec_data_flux='S:\VOCALS_2008\RHB\flux\processed\';
way_images_flux='S:\VOCALS_2008\RHB\flux\Processed_images\';
way_raw_images_flux='S:\VOCALS_2008\RHB\flux\Raw_images\';
%  ceilo files
way_images_ceilo='S:\VOCALS_2008\RHB\ceilometer\Raw_Images\'; % daily saved impates
way_raw_data_ceilo='S:\VOCALS_2008\RHB\ceilometer\Raw\';  % Raw Data 
way_proc_data_ceilo='S:\VOCALS_2008\RHB\ceilometer\Processed\'; % Processed Data
%  mwr files
way_raw_images_mwr='S:\VOCALS_2008\RHB\radiometer\90Ghz\Raw_Images\';   %daily saved images path
way_raw_data_mwr='S:\VOCALS_2008\RHB\radiometer\90GHz\Raw\Sci\';        % Raw Data 
way_proc_data_mwr='S:\VOCALS_2008\RHB\radiometer\90GHz\Processed\'; % Processed Data

%  balloon files
way_raw_images_balloon='S:\VOCALS_2008\RHB\balloon\Raw_Images\Reprocessed\';  %daily saved images
way_proc_images_balloon='S:\VOCALS_2008\RHB\balloon\Processed_Images\Reprocessed\';  %processed images
way_raw_data_balloon='S:\VOCALS_2008\RHB\balloon\Raw\Reprocessed\edt\';  % Raw Data 
way_proc_data_balloon='S:\VOCALS_2008\RHB\balloon\Processed\Reprocessed\'; % Processed Data

% backup directories
backup=false;
way_backup_rawdata='S:\VOCALS_2008\RHB\flux\Raw\';  % Raw Data back-up path on external hard disk
way_backup_procdata='S:\VOCALS_2008\RHB\flux\Processed\'; % Processed Data back-up path on external hard disk

% Adjustments & postcalibrations for flux observations
tsnake_adjustment=-1.68; %degC; VOCALS 2008 leg 1 based on night comparison with sea chest TSG
ta_im_adjustment=0;
ta_etl_adjustment=0;

%################## Sonic configuration  ##################################################################
sonicmodel='VOCALS'; %'R3'        %Sonic model
fsonic=10;                %frequency (Hz)
rotationsonic=false;      %rotate 30 deg = true
outputsonic=1; 		%Sonic output. 0=speed of sound, 1=Temperature (degC)

%################## Licor configuration  ##################################################################
flicor=10;            %frequency (Hz)
 
%################## Clear sky model configuration #########################################################
k1=0.05;                %aerosol optical depth, band 1
k2=0.05;                %aerosol optical depth, band 2
oz=0.2;                 %column ozone
iv=3.5;                 %column water vapor (cm), if not calculated from obs.

%##################  Other parameters  ####################################################################
p=1010;                  %surface pressure (mb)
zus=18.5;                %wind speed measurement height (m)
zts=15;                  %air T measurement height (m)
zqs=15;                  %air q measurement height (m)

%  profiler files 33 34 35
way_images_profiler='S:\VOCALS_2008\RHB\radar\profiler\Raw_Images\';
way_raw_data_profiler='S:\VOCALS_2008\RHB\radar\profiler\Raw\ascii\';  % Raw Data 
way_proc_data_profiler='S:\VOCALS_2008\RHB\radar\profiler\Processed\'; % Processed Data

% W-band radar files
way_raw_data_wband='S:\VOCALS_2008\RHB\radar\wband\Raw\';
way_raw_images_wband='S:\VOCALS_2008\RHB\radar\wband\Raw_images\';

%  aerosol files 36 37 38
way_images_aerosol='S:\VOCALS_2008\RHB\aerosol\Raw_Images\';
way_raw_data_aerosol='S:\VOCALS_2008\RHB\aerosol\Raw\';  % Raw Data 
way_proc_data_aerosol='S:\VOCALS_2008\RHB\aerosol\Processed\'; % Processed Data

% stratus synthesis data, see
% http://www.esrl.noaa.gov/psd/people/Simon.deSzoeke/matrix.html#insitu
way_data_synthesis='S:\Stratus\';
%way_data_synthesis='\\scarecrow\cruises\STRATUS_synthesis\';

% disp('  ');
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
% disp([cruise ' ' year ' ' ship]);
% 
% disp(['****** FLUX directories ********'])
% disp(['Raw data patS: ' way_raw_data_flux]);
% disp(['Processed data patS: ' way_proc_data_flux]); 
% disp(['Spec data patS: ' way_spec_data_flux]); 
% disp(['Saved images patS: ' way_images_flux]);
% disp(['****** ceilo directories ********'])
% disp(['Processed data patS: ' way_proc_data_ceilo]); 
% disp(['Raw data patS: ' way_raw_data_ceilo]); 
% disp(['Saved images patS: ' way_images_ceilo]);
% disp(['****** mwr directories ********'])
% disp(['Processed data patS: ' way_proc_data_mwr]); 
% disp(['Raw data patS: ' way_raw_data_mwr]); 
% disp(['Saved images patS: ' way_images_mwr]);
% disp(['****** balloon directories ********'])
% disp(['Processed data patS: ' way_proc_data_balloon]); 
% disp(['Raw data patS: ' way_raw_data_balloon]); 
% disp(['Saved images patS: ' way_images_balloon]);
% disp(['****** Profiler directories ********'])
% disp(['Processed data patS: ' way_proc_data_profiler]); 
% disp(['Raw data patS: ' way_raw_data_profiler]); 
% disp(['Saved images patS: ' way_images_profiler]);
% disp(['****** aerosol directories ********'])
% disp(['Processed data patS: ' way_proc_data_aerosol]); 
% disp(['Raw data patS: ' way_raw_data_aerosol]); 
% disp(['Saved images patS: ' way_images_aerosol]);
% 
% disp(['****** Parameters ********'])
% if backup=='1'
%     disp('Backup on external disk selected. Current patS:');
%     disp(way_backup_rawdata);
%     disp(way_backup_procdata);
% else
%     disp('No data backup on external disk selected');
% end;
% 
% if rotationsonic==1
%     t='yes';
% else
%     t='no';
% end;
% disp(['Sonic= ', sonicmodel, '  ,frequency= ', para{1}{21}, ' Hz  , 30degrees rotation= ', t]);
% disp(['Licor frequency= ', para{1}{32}, ' Hz']);
% 
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');

