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.
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:
[x] open the set of .dat files
[x] delete the last row or any rows where there is not a complete entry across all columns
[x] double check that the hard coded datetimes are still valid
[x] copy the .dat file to the matching OneDrive directory
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');
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:
.dat
files.dat
file to the matching OneDrive directorySee current error: