HEAL-KGS / STICr

A collection of functions for tidying and processing raw data from Stream Temperature, Intermittency, and Conductivity (STIC) loggers
GNU Affero General Public License v3.0
4 stars 2 forks source link

Will tidy_hobo_data work on both sides of GMT? #21

Open samzipper opened 1 year ago

samzipper commented 1 year ago

Based on the logic:

 utc_time_offset <-
    raw_data |>
    dplyr::select(contains("Date")) |>
    colnames() |>
    str_sub(start = -5, end = -4) |>
    as.numeric()

It seems like it is just grabbing the offset relative to GMT, but not the sign. In the example, it is a -5 hr offset, but what would happen if there is a positive offset?