PlotMetadata: Read and plot Gem metadata

Description Usage Arguments Value Author(s) Examples

View source: R/PlotMetadata.R

Description

ScanMetadata reads a Gem metadata file produced by Convert. PlotMetadata plots battery, temperature, GPS metadata.

Usage

1
2
ScanMetadata(fn, plot = TRUE)
PlotMetadata(M, xlim = range(M$t, na.rm = TRUE))

Arguments

fn

Filename to read

plot

If true, plots metadata after reading the file

M

Metadata, such as output of ScanMetadata

xlim

Time limits to plot, in fractional days of year

Value

ScanMetadata: list including metadata from file:

millis

millis count of metadata sample

batt

battery voltage

temp

temperature in (deg C)

maxWriteTime

maximum time required to write a sample

minFifoFree

minimum number of free sampes in FIFO buffer

maxFifoUsed

maximum number of used samples in FIFO buffer

maxOverruns

maximum number of sample overruns

gpsOnFlag

1 if gps is turned on, 0 otherwise

unusedStack1

free memory in stack 1

unusedStackIdle

free memory in idle stack

PlotMetadata: None.

Author(s)

Jake Anderson

Examples

1
2
3
4
5
6
7
## Not run: 
M = ScanMetadata('metadata/001metadata_000.txt') # scan the first metadata file from Gem SN 001

## End(Not run)

data(gem_metadata)
PlotMetadata(gem_metadata)

gemlog documentation built on July 2, 2020, 2:30 a.m.