%parameter sets
%=========================================================
%=========================================================
%program parameters
global option CRC_TABLE
global SEC_PER_DAY SEC_PER_FILE

%input and output directories (assuming current dir is ./SGMP/measurement interface/)
option.inputdir    = './data/nstb/'; 
option.outputdir   = './data/parsed/';
addpath(option.inputdir);
addpath(option.outputdir);
addpath './parser/';
addpath './parser/nstb/';
addpath './data/';

option.plot         = 0;            
option.compress     = 0;            %reduce redudant information    
SEC_PER_DAY         = 3600 * 24;    %86400 seconds/day
SEC_PER_FILE        = 3600 * 24/24; %seconds per each sub-output file 

load CRC_TABLE_NSTB;

%=========================================================    
%data storage
global rx 
rx.meas             =[]; 
rx.aiding.waas      =[]; 
rx.aiding.eph       =[]; 
rx.aiding.iono      =[]; 
rx.aiding.utc       =[]; 
rx.aiding.almanac   =[];
rx.aiding.tms       =[]; 
rx.aiding.tus       =[]; 
rx.aiding.sqm       =[]; 
rx.aiding.sqminfo   =[]; 
rx.aiding.waasstatus=[];

%=========================================================
%general constanst
global SPEED_OF_LIGHT
SPEED_OF_LIGHT      = 2.99792458e8;     %speed of light
%=========================================================
%=========================================================
