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

type=[0
    1
    2
    3];

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

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


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

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