Skip to content

Commit 2a3107b

Browse files
committed
whoops! didnt need to add those qc_hdetlim_and_uncert lines
1 parent 91acba9 commit 2a3107b

2 files changed

Lines changed: 2 additions & 30 deletions

File tree

src/lter/arctic/processing_kernels.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,7 @@ process_1_10303 <- function(network, domain, prodname_ms, site_code,
344344
d <- d %>%
345345
full_join(var_names, by = 'Type') %>%
346346
select(site_code, datetime=Date, val=Value, Comments, var) %>%
347-
mutate(ms_status = case_when(Comments == 'ISCO' ~ 0,
348-
Comments == ' ' ~ 0,
349-
TRUE ~ 1)) %>%
347+
mutate(ms_status = ifelse(Flag == 1, 0, 1)) %>%
350348
select(-Comments) %>%
351349
mutate(date = str_split_fixed(datetime, ' ', n = Inf)[,1]) %>%
352350
# mutate(time = str_split_fixed(datetime, ' ', n = Inf)[,2]) %>%
@@ -456,7 +454,7 @@ process_1_10303 <- function(network, domain, prodname_ms, site_code,
456454
E_pheophy = 'mg/cm2',
457455
T_ECHL = 'mg/cm2',
458456
CH4 = 'mg/l'))
459-
457+
460458
remove_1_vars <- d %>%
461459
group_by(site_code, var) %>%
462460
summarise(n = n()) %>%

src/lter/niwot/processing_kernels.R

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ process_1_213 <- function(network, domain, prodname_ms, site_code,
207207
TIN = 'mg/l',
208208
H = 'mg/l'))
209209

210-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
211-
212210
return(d)
213211
}
214212

@@ -312,8 +310,6 @@ process_1_103 <- function(network, domain, prodname_ms, site_code,
312310
TIN = 'mg/l',
313311
H = 'mg/l'))
314312

315-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
316-
317313
return(d)
318314
}
319315

@@ -422,8 +418,6 @@ process_1_107 <- function(network, domain, prodname_ms, site_code,
422418
TIN = 'mg/l',
423419
H = 'mg/l'))
424420

425-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
426-
427421
return(d)
428422
}
429423

@@ -529,8 +523,6 @@ process_1_108 <- function(network, domain, prodname_ms, site_code,
529523
TIN = 'mg/l',
530524
H = 'mg/l'))
531525

532-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
533-
534526
return(d)
535527
}
536528

@@ -635,8 +627,6 @@ process_1_109 <- function(network, domain, prodname_ms, site_code,
635627
TIN = 'mg/l',
636628
H = 'mg/l'))
637629

638-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
639-
640630
return(d)
641631
}
642632

@@ -745,8 +735,6 @@ process_1_110 <- function(network, domain, prodname_ms, site_code,
745735
TIN = 'mg/l',
746736
H = 'mg/l'))
747737

748-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
749-
750738
return(d)
751739
}
752740

@@ -850,8 +838,6 @@ process_1_112 <- function(network, domain, prodname_ms, site_code,
850838
TIN = 'mg/l',
851839
H = 'mg/l'))
852840

853-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
854-
855841
return(d)
856842
}
857843

@@ -955,8 +941,6 @@ process_1_113 <- function(network, domain, prodname_ms, site_code,
955941
TIN = 'mg/l',
956942
H = 'mg/l'))
957943

958-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
959-
960944
return(d)
961945
}
962946

@@ -1061,8 +1045,6 @@ process_1_9 <- function(network, domain, prodname_ms, site_code,
10611045
TIN = 'mg/l',
10621046
H = 'mg/l'))
10631047

1064-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
1065-
10661048
return(d)
10671049
}
10681050

@@ -1167,8 +1149,6 @@ process_1_160 <- function(network, domain, prodname_ms, site_code,
11671149
TIN = 'mg/l',
11681150
H = 'mg/l'))
11691151

1170-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
1171-
11721152
return(d)
11731153
}
11741154

@@ -1272,8 +1252,6 @@ process_1_162 <- function(network, domain, prodname_ms, site_code,
12721252
TIN = 'mg/l',
12731253
H = 'mg/l'))
12741254

1275-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
1276-
12771255
return(d)
12781256
}
12791257

@@ -1378,8 +1356,6 @@ process_1_163 <- function(network, domain, prodname_ms, site_code,
13781356
TIN = 'mg/l',
13791357
H = 'mg/l'))
13801358

1381-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
1382-
13831359
return(d)
13841360
}
13851361

@@ -1489,8 +1465,6 @@ process_1_278 <- function(network, domain, prodname_ms, site_code,
14891465
TIN = 'mg/l',
14901466
H = 'mg/l'))
14911467

1492-
d <- qc_hdetlim_and_uncert(d, prodname_ms = prodname_ms)
1493-
14941468
return(d)
14951469
}
14961470

0 commit comments

Comments
 (0)