process_gpgsa: Process NMEA-0183 GPGSA messages

Description Usage Arguments Value Examples

View source: R/GPS_data.R

Description

This function pulls out GPS DOP and active satellites data from NMEA-0183 GPGSA strings and dumps it into a list.

Usage

1
process_gpgsa(string = NULL)

Arguments

string

A string with valid NMEA-0183 GPGSA structure.

Value

A list containing n data elements recorded in NMEA-0183 GPGSA data chunks. Elements are given appropriate data types.

Examples

1
2
3
# first GPGSA msg from data('n38_demo')
msg_1   <- "$GPGSA,M,3,05,10,15,16,20,21,26,29,,,,,1.6,1.0,1.2*32"
gpgsa_1 <- em38:::process_gpgsa(string = msg_1)

obrl-soil/em38 documentation built on Oct. 30, 2018, 3:17 p.m.