% program to read dfls_chl.txt file from Pete Strutton
% chl is derived from eco-dfls instruments
% OUTPUTS: chl at 2m, 10m, 15m
%
close all
clear all
[date,chl2,chl10,chl15] = textread( ...
    'C:\Documents and Settings\Lisa Taylor\My Documents\Data\COASOSU\data\dfls_chl.txt', ...
    '%f %f %f %f', ...
    'headerlines',2, 'delimiter','\t');
allDataDflsChl=[date chl2 chl10 chl15];
save  dfls-chl -v6
%
date=allDataDflsChl(:,1);
chl_2=allDataDflsChl(:,2);           %chl at 2m
chl_10=allDataDflsChl(:,3);          %chl at 10m
chl_15=allDataDflsChl(:,4);          %chl at 15m
%
%hist(chl_2);
figure
plot(date,chl_2,'.')
datetick('x','mmmyy')
title({'Chlorophyll (dfs-chl data)','2m ','Labrador Sea Mooring Data'})
ylabel('Concentration [mg/m^3]')
xlabel('Time')
figure
plot(date,chl_10,'.')
datetick('x','mmmyy')
title({'Chlorophyll (dfs-chl data)','10m ','Labrador Sea Mooring Data'})
ylabel('Concentration [mg/m^3]')
xlabel('Time')
figure
plot(date,chl_15,'.')
datetick('x','mmmyy')
title({'Chlorophyll (dfs-chl data)','15m ','Labrador Sea Mooring Data'})
ylabel('Concentration [mg/m^3]')
xlabel('Time')
