echoIBM.getFileTypes: Reads the header of all files in an event and classifies into...

View source: R/echoIBM.getFileTypes.R

echoIBM.getFileTypesR Documentation

Reads the header of all files in an event and classifies into the following file types: beams (beam configuration), ctd, vessel, pings, school, tsd, other.

Description

Reads the header of all files in an event and classifies into the following file types: beams (beam configuration), ctd, vessel, pings, school, tsd, other.

Usage

echoIBM.getFileTypes(
  files,
  ext = list(beams = "beams", ctd = "ctd", pings = "pings", school = "school", vessel =
    "vessel", noise = NULL),
  labl = list(beams = c("cali"), noise = c("bgns", "nrns", "nr0a", "nr0p")),
  recursive = TRUE
)

Arguments

files

list of files for which file type should be detemined.

ext

Vector of file extensions to test the files against.

labl

Key varialbe names corresponding to the file types given in ext.

recursive

Used in list.files() when files is a single directory.


arnejohannesholmin/echoIBM documentation built on April 14, 2024, 11:37 p.m.