% *********************************************************************
% *********************************************************************
% ***  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 22 November 2007
% Simon's paths for SDESZOEKE

%disp('read_parameters_Stratus');
%clear % Don't clear--this version can be run inside functions.

%This routine sets the parameters for the cruise.

%################## Cruise informations  ##################################################################
cruise='GASEXIII';             % Cruise name  
year='2008';               % Year  
ship='RHB';               % Research vessel  
%##################FLux files
way_raw_data_flux='E:\CRUISES_RAW_data\GasExIII\flux\Raw\';        % Raw data path
way_proc_data_flux='E:\CRUISES_RAW_data\GasExIII\flux\Processed\'; % Processed data path
way_spec_data_flux='E:\CRUISES_RAW_data\GasExIII\flux\Processed\';
way_images_flux='E:\CRUISES_RAW_data\GasExIII\flux\Processed_images\';
% % %  ceilo files
% % way_images_ceilo='C:\Data\STRATUS_2007\RHB\ceilometer\Raw_Images\'; % daily saved impates
% % way_raw_data_ceilo='C:\Data\STRATUS_2007\RHB\ceilometer\Raw\';  % Raw Data 
% % way_proc_data_ceilo='C:\Data\STRATUS_2007\RHB\ceilometer\Processed\'; % Processed Data
% % %  mwr files
% % way_images_mwr='C:\Data\STRATUS_2007\RHB\radiometer\Mailbox\Raw_Images\';   %daily saved images path
% % way_raw_data_mwr='C:\Data\STRATUS_2007\RHB\radiometer\Mailbox\Raw\';        % Raw Data 
% % way_proc_data_mwr='C:\Data\STRATUS_2007\RHB\radiometer\Mailbox\Processed\'; % Processed Data
% % 
% % %  balloon files
% % way_raw_images_balloon='C:\Data\STRATUS_2007\RHB\balloon\Raw_Images\';  %daily saved images
% % way_proc_images_balloon='C:\Data\STRATUS_2007\RHB\balloon\Processed_Images\';  %processed images
% % way_raw_data_balloon='C:\Data\STRATUS_2007\RHB\balloon\Raw\edt\';  % Raw Data 
% % way_proc_data_balloon='C:\Data\STRATUS_2007\RHB\balloon\Processed\'; % Processed Data

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


%################## Sonic configuration  ##################################################################
sonicmodel='R3';        %Sonic model
fsonic=10;            %frequency (Hz)
rotationsonic=false;     %rotated 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='C:\Data\STRATUS_2007\RHB\radar\profiler\Raw_Images\';
% % way_raw_data_profiler='C:\Data\STRATUS_2007\RHB\radar\profiler\Raw\ascii\';  % Raw Data 
% % way_proc_data_profiler='C:\Data\STRATUS_2007\RHB\radar\profiler\Processed\'; % Processed Data

%  aerosol files 36 37 38
way_images_aerosol='E:\CRUISES_RAW_data\GasExIII\aerosol\Processed_images\';
way_raw_data_aerosol='E:\CRUISES_RAW_data\GasExIII\aerosol\Raw\daily\';  % Raw Data 
way_proc_data_aerosol='E:\CRUISES_RAW_data\GasExIII\aerosol\Processed\'; % Processed Data

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

% disp('  ');
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
% disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
% disp([cruise ' ' year ' ' ship]);
% 
% disp(['****** FLUX directories ********'])
% disp(['Raw data path: ' way_raw_data_flux]);
% disp(['Processed data path: ' way_proc_data_flux]); 
% disp(['Spec data path: ' way_spec_data_flux]); 
% disp(['Saved images path: ' way_images_flux]);
% disp(['****** ceilo directories ********'])
% disp(['Processed data path: ' way_proc_data_ceilo]); 
% disp(['Raw data path: ' way_raw_data_ceilo]); 
% disp(['Saved images path: ' way_images_ceilo]);
% disp(['****** mwr directories ********'])
% disp(['Processed data path: ' way_proc_data_mwr]); 
% disp(['Raw data path: ' way_raw_data_mwr]); 
% disp(['Saved images path: ' way_images_mwr]);
% disp(['****** balloon directories ********'])
% disp(['Processed data path: ' way_proc_data_balloon]); 
% disp(['Raw data path: ' way_raw_data_balloon]); 
% disp(['Saved images path: ' way_images_balloon]);
% disp(['****** Profiler directories ********'])
% disp(['Processed data path: ' way_proc_data_profiler]); 
% disp(['Raw data path: ' way_raw_data_profiler]); 
% disp(['Saved images path: ' way_images_profiler]);
% disp(['****** aerosol directories ********'])
% disp(['Processed data path: ' way_proc_data_aerosol]); 
% disp(['Raw data path: ' way_raw_data_aerosol]); 
% disp(['Saved images path: ' way_images_aerosol]);
% 
% disp(['****** Parameters ********'])
% if backup=='1'
%     disp('Backup on external disk selected. Current path:');
%     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('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%