readPamData {PamBinaries}R Documentation

Read Pamguard Data

Description

Reads in the object data that is common to all modules. This reads up to (but not including) the object binary length, and then calls a function to read the module-specific data.

Usage

readPamData(fid, fileInfo, skipLarge, debug = FALSE, keepUIDs, ...)

Arguments

fid

binary file identifier

fileInfo

structure holding the file header, module header, and the appropriate function to read module specific data

skipLarge

Should we skip large parts of binaries? Currently only applicable to whistle, click, and DIFAR data

debug

logical flag to show more info on errors

keepUIDs

If not NULL, a vector of UIDs to read. All UIDs not in this vector will not be read.

...

Arguments passed to other functions

Value

a structure containing data from a single object

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


[Package PamBinaries version 1.9.0 Index]