Skip to content
Snippets Groups Projects

Draft: automatically run july 2023 campaign (MR !11)

Open Jan Engel requested to merge feature/automatically-run-july-2023-campaign into main
Compare and
35 files
+ 2634
955
Preferences
Compare changes
Files
35
@@ -31,7 +31,7 @@ if (!dir.exists(warningDir)){
# CO2 data parameter for correction/filter functions
## function 01
minLengthMPSec <- 120 # [seconds]
minLengthMPSec <- 60 # [seconds]
maxLengthMPSec <- 600 # [seconds]
## function 02
@@ -40,8 +40,12 @@ removeAdditionalAtStartForDarkSec <- 8 # [seconds] additional data removed fo
startRemoveDataDarkSec <- startRemoveDataLightSec + removeAdditionalAtStartForDarkSec
endRemoveDataSec <- 0 # [seconds] is ignored if l_cutMP_AbsoluteTime == "T"
l_cutMP_AbsoluteTime <- "T" # [T,F] cut mp after x seconds from mp start
cutMP_AbsoluteTimeSec <- 188 # [seconds] remove all data after this time if l_cutMP_AbsoluteTime == "T"
# e. g., 3 min = 180 sec + 8 (remove 8 data points from start) = 188
cutMP_AbsoluteTimeSec <- 228 # [seconds] remove all data after this time if l_cutMP_AbsoluteTime == "T"
# 3.5 min (Johannesson et al. 2024, https://doi.org/10.1016/j.agrformet.2024.110289) = 210 + 18 = 228 sec
# (18 because we remove 10 (light) or 18 (dark) seconds in our filtering)
# e. g., 3 min = 180 sec + 18 sec = 198
# 2 min = 120 sec + 18 sec = 138
# 1 min = 60 sec + 18 sec = 78
## function 03
minDiffFlatLine_mp <- 2.0 # min difference between first and last values of mp [ppm] <- test for "flat line"