readEKRaw_split | R Documentation |
Splits Simrad raw files by beams.
readEKRaw_split(
x,
t = "all",
beamnr = NULL,
write = TRUE,
newdir = NULL,
nameadd = NULL,
msg = FALSE,
msgbar = TRUE,
ext = "raw",
...
)
x |
The path to a Simrad raw file or a directory of Simrad raw files. |
t |
The time steps to extract the data for (use the default t="all" to keep all time steps) |
beamnr |
A vector or list of beam indices. If empty (default) split into one file for each beam. If several beams should be in one file, use a list such as list(1, 2:4) for a four beam file, resulting in one file for the first beam and one file for the last three beams. |
write |
Logical: If TRUE, write the splitted data into separate files (in separate directories as default). |
newdir |
The path to the directory in which to put the splitted files, defaulted to one directory per beam in the same directory as the original raw files. |
nameadd |
A string to be appended to the file names of the splitted files, defaulted to "Beams_1", "Beams_2,3,4" if splitting a four beam file into the first beam and the last three beams. |
msg |
Logical: If TURE print a time bar for reading and writing of each individual raw file. |
msgbar |
Logical: If TURE print a time bar showing the progression of splitting multiple files. |
ext |
The file extension of the raw files. |
... |
Further arguments passed on to list.files(), such as 'recursive'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.