Learn R Programming

gemlog (version 0.41)

ReadGem: Read raw Gem data

Description

Reads raw Gem data into R. To write segy files, use Convert.

Usage

ReadGem(nums = 0:9999, path = './', SN = character(), units = 'Pa',
bitweight = NaN, bitweight_V = NaN, bitweight_Pa = NaN, alloutput =
FALSE, verbose = TRUE, requireGPS = FALSE)

Arguments

nums

File numbers to convert.

path

Directory in which raw data files are contained.

SN

If set, only read files of this serial number.

units

For unit conversions: should the output be in V, Pa, or counts?

bitweight

If set, override the default bitweight for this logger in the current configuration.

bitweight_V

If set, override the default V bitweight for this logger in the current configuration.

bitweight_Pa

If set, override the default Pa bitweight for this logger in the current configuration.

alloutput

Include raw data in the output, in addition to the processed data.

verbose

Provide verbose output.

requireGPS

Require GPS strings to perform the conversion.

Value

t

sample times (POSIXct)

p

samples (in whatever units were set by user)

gps$yryear of gps samples gps$dategps sample time, as fractional day of year gps$latlatitude gps$lonlongitude

metadata$millismillis count of metadata sample metadata$battbattery voltage metadata$temptemperature in (deg C) metadata$maxWriteTimemaximum time required to write a sample metadata$minFifoFreeminimum number of free sampes in FIFO buffer metadata$maxFifoUsedmaximum number of used samples in FIFO buffer metadata$maxOverrunsmaximum number of sample overruns metadata$gpsOnFlag1 if gps is turned on, 0 otherwise metadata$unusedStack1free memory in stack 1 metadata$unusedStackIdlefree memory in idle stack

header$filevector of raw file names header$SNvector of Gem serial numbers header$latmean latitude header$lonmean longitude header$t1start time header$t2end time header$alloutputif alloutput == TRUE, list including raw data configconfiguration settings set using Gem configuration file

See Also

Convert

Examples

Run this code
# NOT RUN {
ReadGem(nums = 0:1, path = 'raw/', SN = '000') # read files raw/FILE0000.000 and raw/FILE0001.000
# }

Run the code above in your browser using DataLab