aux_gettemperature: Extract temperature data from cube files.

View source: R/aux_gettemperature.R

aux_gettemperatureR Documentation

Extract temperature data from cube files.

Description

This function reads auxiliary information stored in Omnirecs/Digos Datacube files and extracts the temperature data that is stored along with each GPS tag. Optionally, the data is interpolated to equal intervals.

Usage

aux_gettemperature(input_dir, logger_ID, interval, cpu, gipptools)

Arguments

input_dir

Character value, path to directory where all cube files to be processed as stored. Each set of files from one logger must be stored in a separate sub-directory named after the cube ID.

logger_ID

Character vector, logger ID.

interval

Numeric value, time interval (minutes) to which temperature data is interpolated. No interpolation is performed if this argument is omitted.

cpu

Numeric value, fraction of CPUs to use for parallel processing. If omitted, one CPU is used.

gipptools

Character value, path to gipptools or cubetools directory.

Details

This feature is ony available for Omnirecs/Digos Datacube that were produced since 2015, i.e., whose GPS output files also record the temperature inside the logger. Generating an ACSII GPS tag file using the gipptools software requires a few minutes time per daily file.

Value

A list of data frames with time and temperature values for each cube data logger.

Author(s)

Michael Dietze

Examples


## uncomment to use
# t <- aux_gettemperature(input_dir = "input",
#                         logger_ID = c("ANN", "ABT"),
#                         interval = 15,
#                         gipptools = "~/software/gipptools-2015.225/")


eseis documentation built on Aug. 10, 2023, 5:08 p.m.