read.EK_bot: Read bot files from Simrad EK60 echosounder

View source: R/read.EK_bot.R

read.EK_botR Documentation

Read bot files from Simrad EK60 echosounder

Description

This function will read Simrad BOT0 datagrams with bottom depth data.

Usage

read.EK_bot(file)

Arguments

file

EK60 bot file name.

Details

This function read the bot file by calling read.EK_raw, and get_dgIdx functions. From the datagram index, it finds the BOT0 datagrams, and then extracts ping times and depth(s) associated with all the transceiver(s) in the file.

Value

A data frame with ping times and detected bottom depth for every transceiver in the file.

Author(s)

Héctor Villalobos.

See Also

read.EK_idx.

Examples

fn <- system.file("extdata", "demo-D20130504-T083828.bot", package = "echogram")
depth <- read.EK_bot(fn)
head(depth)
plot(depth[, 1:2], type = "l", ylim = rev(c(0, max(depth[,2]))))


hvillalo/echogram documentation built on Oct. 2, 2023, 7:28 a.m.