sgTimeAtBoot: Get start times for boot sessions for a sensorgnome.

Description Usage Arguments Details Value Author(s)

Description

Get start times for boot sessions for a sensorgnome.

Usage

1
sgTimeAtBoot(serno, monoBN)

Arguments

serno

character scalar; serial number of sensorgnome, e.g. "SG-5133BBBK2972"

monoBN

integer vector; boot session(s) for which boot times are desired.

Details

the start time is taken as the first valid timestamp of files from that boot session. In most situations, the GPS sets a sensorgnome's clock shortly after boot, so the estimate will be some few minutes later than the true boot time. Where possible, we correct for the timespan during which the SG was producing pre-GPS-timestamped files in that boot session.

This procedure needs to be made explicit in upstream processing; see: https://github.com/jbrzusto/find_tags/issues/12

Value

real vector of timestamps, one per item of monoBN. NA for any slot where the boot time could not be estimated; e.g. because the receiver did not get a GPS fix.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.