% auto_run_multi_day.m

clear;
close('all');
fclose('all');
warning('off','MATLAB:interp1:NaNstrip');
warning('off','MATLAB:MKDIR:DirectoryExists');

% matlab script path
path_prog = fullfile('c:\Users\Sergio\Documents\MATLAB\2016_CAPRICORN\flux');
cd(path_prog);                  % cd to matlab directory
restoredefaultpath              % reset matlab path
addpath(genpath(path_prog));	% add scripts to path
savepath; rehash;

for ddd = 74:102
    disp(['processing day ',sprintf('%3i',ddd)]);
    flag = AUTOflux_eval_CAPRICORN_2016(ddd);
end;