Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bpbond committed Dec 20, 2023
1 parent 0b5216a commit 89881b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synoptic/L1_normalize.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ f <- function(fn, out_dir, design_table) {
x <- separate(dat, design_link, sep = "-",
into = c("What", "Site", "Location", "Sensor"))
# It turns out that the out of service check is SUPER expensive (50% of driver runtime)
# Since right now it's only applicable to Aquatroll, check for this and skip if possible
# Since right now it's only applicable to Aquatroll, so check for this and skip if possible
if(grepl("WaterLevel", dat$Table[1])) {
dat$F_OOS <- as.integer(oos(oos_troll, x))
} else {
Expand Down
4 changes: 2 additions & 2 deletions synoptic/data_TEST/L1_metadata/L1_metadata_columns.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ design_link,Design name that links to experimental unit (character)
research_name,Measurement name (character)
value,Observed value (numeric). The no-data value is '[NA_STRING_L1]'
ID,Observation ID (character)
F_OOB,"Flag: Out of instrumental bounds (1=TRUE, 0=FALSE) (logical)"
F_OOS,"Flag: Out of service according to records (1=TRUE, 0=FALSE) (logical)"
F_OOB,Flag: Out of instrumental bounds (1=TRUE) (logical)
F_OOS,Flag: Out of service according to records (1=TRUE) (logical)

0 comments on commit 89881b3

Please sign in to comment.