readEKRawOld: Reads a Simrad raw file.

View source: R/readEKRawOld.R

readEKRawOldR Documentation

Reads a Simrad raw file.

Description

Reads a Simrad raw file.

Usage

readEKRawOld(
  f,
  t = 1,
  endian = "little",
  timeOffset = 0,
  minTimeDiff = Inf,
  drop.out = FALSE,
  msg = TRUE,
  prenumt = 10,
  na.rm = TRUE,
  cleartemp = FALSE
)

Arguments

f

is the path to the raw file.

t

is a vector of the time steps to read.

endian

is the endian of the file, defaulted to .Platform$endian (changed from "big" by Arne Johannes Holmin 2012-07-31). NA

timeOffset

is the time offset of the datagram.

minTimeDiff

is the minimum difference in matlab time betwee two pings.

drop.out

is TRUE to drop dimensions of the data.

msg

is TRUE to print a time bar during reading.

prenumt

is the number of time steps to reserve in the temporary file sto which data are saved during reading in order to restrict memeory usage. High values result in fewer temporary file but higher CPU time. The default value of 10 should be relatively optimal.

na.rm

is TRUE to remove missing pings.

cleartemp

is TRUE to clear all files in the temporary directory in which files are written in the TSD format for faster reading of the raw files. These files are deleted at startup of the operating system, but can be deleted specifically here if needed.


arnejohannesholmin/SimradRaw documentation built on April 14, 2024, 7:43 p.m.