907Resident / caldera-gases

Field research conducted between 2017 and 2019 acquired hundreds of samples of diffuse CH4 and CO2 gas emissions. This repository contains the code used for analysis of the data. The public repository for the data will be shared when available.
MIT License
0 stars 0 forks source link

Complete the edits the `.dat` for 10Jul2017 #7

Closed 907Resident closed 1 year ago

907Resident commented 1 year ago

An error is popping up when attempting to concatenate the 10Jul2017 data for VCSS. Most likely the cause is the fact that there is a subset of columns that have an extra row. This can happen when the machine is not shut down properly.

Likely Solution:


See current error:


Error using table
All table variables must have the same number of rows.

Error in importPicDat (line 112)
TBL = table(dataArray{1:end-1}, 'VariableNames',
{'DATE','TIME','FRAC_DAYS_SINCE_JAN1','FRAC_HRS_SINCE_JAN1','EPOCH_TIME','ALARM_STATUS','INST_STATUS','CavityPressure','CavityTemp','WarmBoxTemp','EtalonTemp','DasTemp','MPVPosition','solenoid_valves','OutletValve','MeasurementMode','species','HP_12CH4','HP_12CH4_dry','HP_13CH4','HR_13CH4','Delta_iCH4_Raw','HP_Delta_iCH4_Raw','HP_Delta_iCH4_30s','HP_Delta_iCH4_2min','HP_Delta_iCH4_5min','HR_12CH4','HR_12CH4_dry','HR_Delta_iCH4_Raw','HR_Delta_iCH4_30s','HR_Delta_iCH4_2min','HR_Delta_iCH4_5min','ChemDetect','H2O','CO2','CO2_dry','CO1','Delta_Raw_iCO2','Delta_30s_iCO2','Delta_2min_iCO2','Delta_5min_iCO2','peak87_baseave_spec','peak88_baseave','peakheight_5','peak0_spec','ch4_splinemax','peak30_spec','peak_30','SSIMPressure','PPF_res','PPF_base_offset','PPF_slope_offset','PPF_shift','PPF_CH4_conc','PPF_H2O_conc','PPF_C2H6_conc','PPF_C2H4_conc','PPF_NH3_conc','PPF_H2S_conc'});

Error in Merge_PicData_Fxn (line 78)
    tableout            = importPicDat(filename);

Error in VCSS_10Jul2017_DataAnalysis (line 85)
 Merge_PicData_Fxn(directory, 'America/Denver');
907Resident commented 1 year ago

Details in commit 16ef1b2 demonstrate that issue can now be closed