%===============================================
%
% PLMR processing software suite (input parameters)
%
% This file provides the flags for the processing suite, 
% allowing plmr_process.m to call the respective subroutines.
%
% This is not a program for distribution!!! 
%
% Author          Date           version
% C. R�diger      10-Nov-09      1.0
% C. R�diger      25-Nov-09      1.01   % added model parameters
%
%===============================================

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

%-----------------------------------
% system definitions
%-----------------------------------
                    % *** only used with raw ascii file of counts
plmr_pro =0;        % set to 1 to convert PLMR data from counts to Tb and phys. Temperature with f_raw_plmr.m  
calib    =0;        % set to 1 for calibration processing, otherwise, only use calib input files
                    % to process RASP files

                    % *** set these to 1 for first step; 0 for preproc otherwise                    
preproc  =0;        % run the CCCP and PLMR2SP scripts
ussr     =1;        % set to 1 for CCCP runs to extract PLMR files
p2sp     =1;        % set to 1 for PLMR2SP runs to convert PLMR data from counts to Tb and phys. Temperature with ARA software

                    % *** set these to 1 for second step; 0 otherwise                    
rasp     =0;        % set to 1 for running RASP

                    % *** set these to 1 for third step; 0 otherwise                    
graphs   =1;        % set to 1 to create spatial and timeseries plots

                    % *** set these to 1 for third and fourth step; 0 otherwise                    
kml      =1;        % set to 1 to create KML output files

                    % *** set these to 1 for fourth step; 0 otherwise                    
anci     =0;        % set to 1 to extract TIR and Skye data from the PLMR files


chk      =0;        % set to 1 if calibration parameters are required in a separate output file
plt      =1;        % set to 1 if plots are to be saved
sve      =1;        % set to 1 if corrected data are to be saved
tpause   =10;       % defines the allocated time for the PLMR2SP processing,
                    % this value may have to be increased for slower systems
linux    =isunix;   % system will be identified automatically - LEAVE THIS SWITCH UNCHANGED

%-----------------------------------
% set certain model parameters
% yet to be activated
%-----------------------------------
%sky_temp=8;

%-----------------------------------
% experiment definitions
%-----------------------------------
experi='SMAPex'; % overview of experi: 'SMAPex' SMAP campaigns
                    %                      'XXX' xxxx
                    %                      'Yanco09' for Rob's ET flights
geb   =' T02';      % overview of geb: 'Tran' Transect Flight (5 July '10)
                    %                  ' R01' Regional Flight (6 July '10)
                    %                  ' T01' Target Flight (7 July '10)
                    %                  ' R02' Regional Flight (8 July '10)
                    %                  ' T02' Regional Flight (9 July '10)                    
pol   =['v';'h'];   % set to 'h' for Hpol and 'v' for Vpol or ['v';'h'] for both
res   ='lo';        % set to 'lo' for low-resolution and 'hi' for high-resolution flights
                    % high-resolution currently does not work as an
                    % automatic function. Don't even try it.

end

