%O2.m
    dir = '2017Oct31';
    outstr = sprintf('%s O2',dir);
    
    
if (1)
    path = sprintf( '../%s/parsed/CPF%s.mat',dir,dir);
    load(path);
    path = sprintf( '../%s/parsed/CPF%s_ENG.mat',dir,dir);
    load(path);
end

clear('pt','p')
k=1;
figure;
hold on;grid on;
for prof=1:1:size(O2,1)
    scatter(O2time(prof,:),O2d(prof,:),25,O2(prof,:),'filled');
    plot(DATETIMENUM(prof,:),P(prof,:),'k');
    
    
    for j=1:1:size(P,2)
        if(~isnan(P(prof,j)))
            p(k) = P(prof,j);
            pt(k) = DATETIMENUM(prof,j);
            k=k+1;
        end
    end
    
    
end

plot(pt,p,'k-');


title(outstr);
colorbar;
datetick;
xlabel('Time');
ylabel('dBar');
grid on;