Closed leppott closed 3 years ago
Modified ContDataQC and the subfunctions QC and QC.file to accept a new parameter.
fun.AddDeployCol
Boolean for adding column name. Default = FALSE.
Can be customized in config.R; ContData.env$myName.LoggerDeployment.
Populated with NA except for first row (start) and last row (end).
Each output file has "start" and "end" added. If trim any results will have to modify the start and end comments.
And shows up after the "aggregation" step.
DST fix keeps only 1st record if more than one per date/time. Added QC check after the DST fix to ensure the last row has "end" in the logger deployment column.
Works for both QC and QC.file.
Some users missing the "end" value.
Tracked down to files with extra blank rows.
Users "trimmed" the file after the QC step and before the "Aggregate" step.
Still uses Date.Time to look for NA values. But the script will fail prior to this point if the Date Time field is NA. It fails when checking the date format.
Is your feature request related to a problem? Please describe. Once aggregate files no long know start/stop dates of logger deployments. Need a way to track.
Describe the solution you'd like Add a column during the QC process to populate with start and end of deployments.
Describe alternatives you've considered Only add "start" and "stop" to the column. Easier to filter. Having the date range would add too much to the file sizes.
Additional context If track this information can later on look for differences between deployments.