Reads raw Gem data into R. To write segy files, use Convert.
ReadGem(nums = 0:9999, path = './', SN = character(), units = 'Pa',
bitweight = NaN, bitweight_V = NaN, bitweight_Pa = NaN, alloutput =
FALSE, verbose = TRUE, requireGPS = FALSE)
File numbers to convert.
Directory in which raw data files are contained.
If set, only read files of this serial number.
For unit conversions: should the output be in V, Pa, or counts?
If set, override the default bitweight for this logger in the current configuration.
If set, override the default V bitweight for this logger in the current configuration.
If set, override the default Pa bitweight for this logger in the current configuration.
Include raw data in the output, in addition to the processed data.
Provide verbose output.
Require GPS strings to perform the conversion.
sample times (POSIXct)
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
Convert
# 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