Learn R Programming

eseis (version 0.8.0)

aux_gettemperature: 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)

Value

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

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.

Author

Michael Dietze

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.

Examples

Run this code

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

Run the code above in your browser using DataLab