From 2e9a949fee71587f6cfb0039f283a1902a9557e7 Mon Sep 17 00:00:00 2001 From: Jon Bryant Date: Tue, 24 Feb 2026 10:54:54 -0500 Subject: [PATCH] fixed typo with tempdata This caused the baro mainatenance script to stop. The error was not caught in the logs or in the maintenance dashboard.Script was successful upon fixing the typo Fixes #34 --- 02_connectscripts/01_update_baro_tables.rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_connectscripts/01_update_baro_tables.rmd b/02_connectscripts/01_update_baro_tables.rmd index 3681a94..8ea483d 100644 --- a/02_connectscripts/01_update_baro_tables.rmd +++ b/02_connectscripts/01_update_baro_tables.rmd @@ -317,7 +317,7 @@ for(i in 1:nrow(newfiles)){ tempdata <- tempdata[, 2:4] colnames(tempdata) <- c("dtime", "baro_psi", "temp_f") # Read dtime with EST time zone and change to America/New_York - tempdata <- temp_data |> + tempdata <- tempdata |> mutate(dtime = mdy_hms(dtime, tz = "EST"), dtime = with_tz(dtime, tz = "America/New_York")) tempdata$baro_rawfile_uid <- newfiles$baro_rawfile_uid[i]