process_hobo | R Documentation |
This function processes data from Onset HOBOware.
process_hobo(my_wxdat)
my_wxdat |
List from |
This function processes precipitation, temperature, and relative humidity
data exported from Onset HOBOware. It uses the list created by
import_hobo_2008
or import_hobo
and then
processes the data using raindance
or
sundance
.
For precipitation data, this function strips the first 5 minutes and last 10 minutes of data to account for field procedures when downloading the event logger. It is common practice to trigger an event before downloading and after launching the logger. To remove these false events there is a routine to strip the first 5 minutes of the data if the "launch_time Time" and "First Sample Time" are the same. There is no way to determine if the tipping bucket is triggered before downloading the data, so the last 10 minutes of every file is stripped before processing.
This function returns a four (4) object list.
This component is a vector that contains the file name, the date stamp, plot ID, the number of lines to skip to properly import the data, the number of columns of data in the raw file, and the Elements measured.
This component is a data frame of metadata.
This component is a data frame.
This component is a data frame of summarized data
from raindance
or sundance
.
import_hobo_2008
, import_hobo
,
raindance
, sundance
## Not run: library("raindancer") # Generate list of files file_list <- list.files(path = system.file("extdata", package = "raindancer"), pattern = ".csv", full.names = TRUE, recursive = FALSE) # Precipitation data import_hobo_2008(file_list[2]) |> process_hobo() # Temperature and relative humidity data import_hobo(file_list[5]) |> process_hobo() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.