% *********************************************************************
% *********************************************************************
% ***  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
% Modified by LB 12 June 2009
% Modified by LB 07 September 2009
%
%This routine sets the parameters for the cruise.

%################## Cruise informations  ##################################################################
cruise='CALNEX';             % Cruise name  
yyyy='2010';               % year (string)
ship='Atlantis';               % Research vessel

% Data are being written to DAS in D:\cruise_yyyy\ship\instrument\Raw directory
%################## Flux programs and files %####################################
way_raw_data_flux=['D:\' cruise '_' yyyy '\' ship '\flux\Raw\'];      % Raw data path
way_proc_data_flux=['D:\' cruise '_' yyyy '\' ship '\flux\Processed\'];     % Processed data path
way_spec_data_flux=['D:\' cruise '_' yyyy '\' ship '\flux\Processed\' ];
way_images_flux=['D:\' cruise '_' yyyy '\' ship '\flux\Processed_Images\' ];

%##################%  ceilo files %####################################
way_images_ceilo=['D:\' cruise '_' yyyy '\' ship '\ceilometer\Raw_Images\']; % daily saved impates
way_raw_data_ceilo=['D:\' cruise '_' yyyy '\' ship '\ceilometer\Raw\'];  % Raw Data 
way_proc_data_ceilo=['D:\' cruise '_' yyyy '\' ship '\ceilometer\Processed\']; % Processed Data

%##################%  Lacie backup directory %####################################
way_backup_data=['G:\' cruise '_' yyyy '\' ship '\'];      % Data back-up path on external hard disk

%Other paths not in use are commented out (not really necessary, but helps for clarity
%##################%  mwr files %####################################
% way_raw_images_mwr=['D:\' cruise '_' yyyy '\' ship '\radiometer\90Ghz\Raw_Images\'];   %daily saved images path
% way_raw_data_mwr=['D:\' cruise '_' yyyy '\' ship '\radiometer\90GHz\Raw\Sci\'];        % Raw Data 
% way_proc_data_mwr=['D:\' cruise '_' yyyy '\' ship '\radiometer\90GHz\Processed\']; % Processed Data
%##################%  balloon files %####################################
% way_raw_images_balloon=['D:\' cruise '_' yyyy '\' ship '\balloon\Raw_Images\'];  %daily saved images
% way_proc_images_balloon=['D:\' cruise '_' yyyy '\' ship '\balloon\Processed_Images\'];  %processed images
% way_raw_data_balloon=['D:\' cruise '_' yyyy '\' ship '\balloon\Raw\edt\'];  % Raw Data 
% way_proc_data_balloon=['D:\' cruise '_' yyyy '\' ship '\balloon\Processed\']; % Processed Data


% Adjustments & postcalibrations for flux observations
tsnake_adjustment=0; %degC;
ta_im_adjustment=0;
ta_etl_adjustment=0;

%################## Sonic configuration  ##################################################################
sonicmodel='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.

%################## Track map limits #########################################################
%NTAS_2009
% Lonmin=-65;
% Lonmax=-50;
% Latmin=5;
% Latmax=20;
%STRATUS_2009
Lonmin=-132;
Lonmax=-112;
Latmin=30;
Latmax=40;

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

