Skip to content

Baro script doesn't run #34

@jonbry

Description

@jonbry

Ran the baro script manually, and got the following error:

Error: object 'temp_data' not found

This should be tempdata not `temp_data:

tempdata <- temp_data |>
mutate(dtime = mdy_hms(dtime, tz = "EST"),
dtime = with_tz(dtime, tz = "America/New_York"))
tempdata$baro_rawfile_uid <- newfiles$baro_rawfile_uid[i]
tempdata <- tempdata[complete.cases(tempdata[, 1:3]),] #Purge NA rows from the final data set
newdata <- bind_rows(newdata, tempdata)

This bug is likely due to me testing it locally with temp_data, which is why it ran ok locally but wouldn't run successfully elsewhere. Updating to tempdata fixed the problem.

The more pressing issue here is that the dashboard and logs all show the baro script as running successfully and did not catch this error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions