readEKRaw_GetDgHeader: Reads the a datagram header stored in a Simrad raw file.

View source: R/readEKRaw.R

readEKRaw_GetDgHeaderR Documentation

Reads the a datagram header stored in a Simrad raw file.

Description

Reads the a datagram header stored in a Simrad raw file.

Usage

readEKRaw_GetDgHeader(
  x,
  timeOffset = 0,
  endian = "little",
  xBase = -11644473600,
  offset = 0,
  ...
)

Arguments

x

The raw vector.

timeOffset

is the time offset of the datagram.

endian

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

xBase

is the base of Windows FILETIME: xBase=unclass(as.POSIXct('1601-1-1', tz="UTC"))[1].

offset

an offset in bytes.

...

Used for robustness.


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