%granitecanyon.m
%load yearly text files for granite canyon research station to check for
%outliers etc.
%Tanya Novak
%Sept, 2010
% MLML Granite Canyon CTD Data
% SBE37 serial number: SBE37SMP49935-6288
% File created by write_SBE37.m, written by Luke Beatman
% These data are in Pacific Standard Time
%
% Column 1: YYYYMMDD
% Column 2: HHMMSS
% Column 3: Decimal Hour
% Column 4: Decimal Julian Day
% Column 5: Absolute Decimal Julian Day
% Column 6: Temperature(degrees C)
% Column 7: Salinity(PSS78)
% Column 8: Conductivity(S/m)
% Column 9: Pressure(decibars)
%
%

x08 = load('granite_sbe37_2008all.txt');
x09 = load('granite_sbe37_2009all.txt');
x10 = load('granite_sbe37_2010all.txt');
x = [x08;x09;x10];
time = x(:,5);
temp = x(:,6);
sal = x(:,7);
cond = x(:,8);
pressure = x(:,9);
figure
subplot(2,1,1)
plot(time,sal,'b.')
datetick('x',6,'keepticks','keeplimits')
subplot(2,1,2)
plot(time,temp)
datetick('x',6,'keepticks','keeplimits')
