% For testing
homedir = 'C:\Users\bwerb\Documents\SprayDashBoard\GlideAppPackage\TestProjectLibrary\';
% start making directories

% main folder
mkdir([homedir,app.DepID]);

% sat_files folder
mkdir([homedir,app.DepID,filesep,'sat_files']);
mkdir([homedir,app.DepID,filesep,'sat_files',filesep,'plots']);
mkdir([homedir,app.DepID,filesep,'sat_files',filesep,'plots',filesep,'pH_diagnostics']);

% full data folder
mkdir([homedir,app.DepID,filesep,'full_data']);

% remarks folder
mkdir([homedir,app.DepID,filesep,'deployment_remarks']);

% calibration folder
mkdir([homedir,app.DepID,filesep,'calibration_data']);

% copy cal files into calibration folder
copyfile(app.OxygenfullPath, [homedir,app.DepID,filesep,'calibration_data']);
copyfile(app.GliderfullPath, [homedir,app.DepID,filesep,'calibration_data']);
copyfile(app.SpecfullPath, [homedir,app.DepID,filesep,'calibration_data']);



% QC folder
mkdir([homedir,app.DepID,filesep,'QC']);
mkdir([homedir,app.DepID,filesep,'QC',filesep,'plots']);
%%
CAL = table;
