dataDirPath = '\\atlas\Chem\ARGO_PROCESSING\DATA\PH_DIAGNOSTICS\DATA\';

floatNums = ["5906561" "5906576"];

varNames = ["SDN",      "Station",	"Lon_degE",	"Lat_degN",	"QF_LatLon", "Pressure_dbar", "QF_Pressure_dbar", "Temperature_degC", "QF_Temperature_degC"];
varNames = [varNames, "Salinity_pss", "QF_Salinity_pss", "InternalTemp_degC", "QF_InternalTemp_degC", "Internal_Humidity_percent"	"QF_Internal_Humidity_percent"];
varNames = [varNames, "System_Volts_V",	"QF_System_Volts_V",	"System_Amps_Amps",	"QF_System_Amps_Amps",	"Backup_Batt_V",	"QF_Backup_Batt_V",	"Vrs_V",	"QF_Vrs_V"];
varNames = [varNames, "std_Vrs_V",	"QF_std_Vrs_V",	"Vk_V",	    "QF_Vk_V",	"std_Vk_V",	"QF_std_Vk_V",	"Ik_Amps",	"QF_Ik_Amps",	"Ib_Amps",	"QF_Ib_Amps", "pH_tot",	"QF_pH_tot"]
varNames = [varNames,  "DF_SN",     "QF_DF_SN", "Stem_version"	"QF_Stem_version", "K2",        "QF_K2",        "K0",	    "QF_K0",    "MSC_Version"	"QF_MSC_Version"];

for i=1:length(floatNums)
    fullPath(i) = strcat(dataDirPath, floatNums(i), '_DURA.TXT');

    dataTemp = get_FloatViz_data(fullPath(i));
    dataTable{i} = array2table(dataTemp.data, 'VariableNames', varNames);
    dataTable{i}.dt = datetime(dataTable{i}.SDN, 'ConvertFrom', 'datenum');
end

figure
yyaxis left
plot(dataTable{1}.dt, dataTable{1}.Vrs_V)
yyaxis right
plot(dataTable{1}.dt, dataTable{1}.std_Vrs_V)
