%%Script used to create data structure for PICS data (top middle and
%%bottom).
%Calls function create_PICSdata_struct_and_csv_v4.m


type=[0
    1
    2
    3];

%Unmerged files
for ii=1:length(type)
    Cruise='YR160610';
    iMerged=false;
    pn_analysis='C:\Users\gracec\Documents\PICS DATA\YR160610\Results_v3_code\';
    pn_results='C:\Users\gracec\Documents\PICS DATA\YR160610\Results_v3_code\';

create_PICSdata_struct_and_csv_v4 (pn_analysis, pn_results,iMerged, Cruise,type(ii))
end


%Merged files
for ii=1:length(type)
    Cruise='YR160610_Merged';
    iMerged=true;
    pn_analysis='C:\Users\gracec\Documents\PICS DATA\YR160610\Results_Merged_v3_code\';
    pn_results='C:\Users\gracec\Documents\PICS DATA\YR160610\Results_Merged_v3_code\';

create_PICSdata_struct_and_csv_v4 (pn_analysis, pn_results,iMerged, Cruise,type(ii))
end