View source: R/read.EK60_raw.R
read.EK60_raw | R Documentation |
This function imports all data in EK60 raw files.
read.EK60_raw(file, parseNMEA = FALSE, angles = TRUE)
file |
EK60 raw file name. |
parseNMEA |
logical. When false (the default) all the nmea sentences found
in the raw file are returned as text strings. If |
angles |
logical. If |
This function imports the file as raw bytes with read.EK_raw
.
Then, the configuration information is obtained from datagram CON0 with
get_CON0
, nmea sentences (NME0) with get_NME0
, and finally
acoustic data in RAW0 datagrams with get_RAW0
.
A three elements list: (1) configuration, with Header and Transceiver(s)
information; (2) nmea sentences (full or parsed); and (3) pings data,
which includes at least a sample data table, and received power in a
three dimensions array [depth samples, pings, transceivers].
When angles = TRUE
, alongship and athwartship electrical angles
are also returned as an array with an extra dimension.
Héctor Villalobos.
read.EK_raw
, get_CON0
, get_NME0
, and get_RAW0
if(interactive()){
ekraw <- read.EK60_raw("D20130504-T083828.raw", parseNMEA = TRUE, angles = TRUE)
# Header
ekraw$config$Header
# Transceivers
ekraw$config$Transceiver
# GPS data
head(ekraw$nmea)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.