function ctdat=get_ct(file_loc)
%Reads in CT data from compiled Oasis data

file_name=sprintf('%ssbe47_ct',file_loc);%what file
fid=fopen(file_name);%open file
Dat_Loc=rm_oasis_header(fid);%remove the header
fseek(fid,(Dat_Loc),'bof');%start of the data
i=1;
while ~feof(fid) %read in the numbers
    X=fgetl(fid);
    [ctdat(:,i),COUNT,ERRMSG,NextI]=sscanf(X,'%f');
    ctdat2(:,i)=sscanf(X((NextI+1):length(X)),'%f');
    i=i+1;
end;
fclose(fid);
ctdat(3,:)=ctdat2(1,:);
ctdat(4,:)=ctdat2(2,:);
ctdat(1,:)=jul2date(ctdat(1,:),ctdat(4,:));%change to Matlab time
ctdat(4,:)=[];%get rid of year column

%if we are really geeting back conductivity
%R     = 4.2914;         % Conductivity ratio denominator(?????????? from where ????????)
%depth = 1;              % Depth of microcat in dbar
%sal = salin_(ctdat(3,:)./R, Drift.ct(2,:), depth);
%ctdat(3,:)=sal;