%===============================================
%
% PLMR processing software suite (file definitions)
%
% This file provides the source and file information for the
% files to be processed. See first data set for the definition 
% of the variables.
%
% This is not a program for distribution!!! 
%
% Author          Date           version
% C. Rüdiger      10-Nov-09      1.0
% C. Rüdiger      28-Nov-09      1.01     % removed calibration files
%
%===============================================

function [fpath,file_date,file_name_PLMR,file_name_RASP,file_name_RT,file_name_counts, ... 
    prosensing,experi,pol,calib, ...
    plt] ... 
    =c_file_defs

%-----------------------------------
% set data root directory
%-----------------------------------
linux_root='/media/MMAPEXTHD01';        % root directory to hard drive containing data under Linux
win_root='D:\FieldData\Campaigns';                          % root directory to hard drive containing data under Windows

[linux,preproc,ussr,p2sp,rasp,calib,anci,kml,plmr_pro,graphs,experi,geb,pol,res,chk,sve,plt,tpause]=c_input_arg;

if (linux)
    fpath=linux_root;
    clear win_root;
else
    fpath=win_root;
    clear linux_root;
end

%-----------------------------------
% prepare data files
%-----------------------------------
% SMAPex
%-----------------------------------
if (geb=='Tran')
    file_date='100705';                 % name of data folder YYMMDD
    file_name_PLMR='07051233';          % name of PLMR file from cube
    file_name_RT='100705_033542';       % name of RT file
    file_name_RASP='07051233';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07051233.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

elseif (geb==' R01')
    file_date='100706';                 % name of data folder YYMMDD
    file_name_PLMR='07060943';          % name of PLMR file from cube
    file_name_RT='100706_004358';       % name of RT file
    file_name_RASP='07060943';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07060943.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

elseif (geb==' T01')
    file_date='100707';                 % name of data folder YYMMDD
    file_name_PLMR='07070902';          % name of PLMR file from cube
    file_name_RT='100706_234127';       % name of RT file
    file_name_RASP='07070902';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07070902.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

elseif (geb==' R02')
    file_date='100708';                 % name of data folder YYMMDD
    file_name_PLMR='07080921';          % name of PLMR file from cube
    file_name_RT='100708_000259';       % name of RT file
    file_name_RASP='07080921';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07080921.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

elseif (geb==' T02')
    file_date='100709';                 % name of data folder YYMMDD
    file_name_PLMR='07090907';          % name of PLMR file from cube
    file_name_RT='100708_231600';       % name of RT file
    file_name_RASP='07090907';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07090907.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

elseif (geb==' R03')
    file_date='100710';                 % name of data folder YYMMDD
    file_name_PLMR='07100652';          % name of PLMR file from cube
    file_name_RT='100709_213816';       % name of RT file
    file_name_RASP='07100652';          % name of RASP output file (normally set to same as PLMR file)
    file_name_counts='07100652.asc';    % PLMR count file *** only used if switch plmr_pro=1 in input_arg.m 
    prosensing='092008';                % ProSensing factory calibration file  *** only change if new factory calibration
%    skye_cal='';
%    remlet_conf='';

end