% I need headers. Not sure what my data is...
% Need for pH calc: pH_tot, sal, temp in, temp out

%

df = readtable('20240222_Nano_mFET_array.txt');
SpecpH_parser = df(:,["Var1","Var2","Var46","Var49","Var40","Var42"]) % Not sure which vars are temp in and temp out
SpecpH_parser.Properties.VariableNames = {'Flag','DateTime','Salinity','pH_tot','Temp_in','Temp_out'};
SpecpH_parser.QC = [1 1 1 1 1]'; % Maybe this could be user input to qc or just junk = 0...

% add Joe's interp step for salinity
% Lots more to do here

%

table2array(SpecpH_parser)
% SpecpH_parser = mean(SpecpH_parser,2)