%%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='YR140918';
    iMerged=false;
    pn_analysis='C:\Users\gracec\Documents\PICS DATA\YR140918\Results_code_v3\';
    pn_results='C:\Users\gracec\Documents\PICS DATA\YR140918\Results_code_v3\';

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


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

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