odf_create_hobo: Format Hobo Temperature Logger Data for conversion to ODF or...

View source: R/odf_create_hobo.R

odf_create_hoboR Documentation

Format Hobo Temperature Logger Data for conversion to ODF or NetCDF formats

Description

'odf_create_hobo()' formats and compiles all the necessary information in order to interpret a Hobo Temperature Logger data file for addition to a larger dataset.

Usage

odf_create_hobo(
  file,
  column_names = c("datetime", "abs_pressure", "temp"),
  timezone = c("UTC", "-0300", "-0400")
)

Arguments

file

an Onset Hobo Temperature logger data CSV file.

column_names

Character vector of columns names for the file. Defautls are 'datetime', 'abs_pressure', and 'temp'

timezone

The timezone for the temperature logger. Care needs to be taken here to make sure you understand what timezone the logger was setup in as this will need to take into account time zones and time changes. Standard time (AST) in NB/NS is -0400 and Daylight Savings Time (ADT) is -0300

Function will convert everything to unambiguous ISO8601 formatted date times. 'https:\/\/en.wikipedia.org\/wiki\/ISO_8601

latitude

latitude in decimal degrees North(dd.ddddd\deg) where the instrument was moored.

longitude

longitude in decimal degrees East (-ddd.dddd\deg) where the instrument was deployed *should be negative in the Western Hemisphere!*

depth_m

depth of the instrument in meters.

depth_type

depth type for the instrument deployment, either 'surface' if moored a certain distance from the surface (e.g. moored to a floating platform), or 'bottom' if moored a set distance from the water column bottom (e.g. moored to solid wharf).

Value

a list of information regarding the Hobo temperature logger so that it can be converted into other formats

Examples

odf_create_hobo(file, timezone = "+0000", latitude = 45, longitude = -65, depth_m = 1, depth_type = "surface")


pkraska/CESD documentation built on June 15, 2025, 6:32 a.m.