seasonder_defaultSpecsPathForFile {SeaSondeR} | R Documentation |
Get the Default Specifications Path for a Spectra File
Description
This function returns the default YAML specifications file path corresponding to a given spectra file. It first determines the file type by analyzing the file content and then retrieves the associated default specifications path.
Usage
seasonder_defaultSpecsPathForFile(filepath, endian = "big")
Arguments
filepath |
A character string specifying the path to the spectra file. |
endian |
A character string indicating the file's byte order ("big" by default). |
Details
The function leverages seasonder_find_spectra_file_type
to determine whether the file is of type "CS" or "CSSY".
It then uses seasonder_defaultSpecsFilePath
to obtain the corresponding default specifications path.
Value
A character string representing the default YAML specifications file path for the detected file type.
See Also
seasonder_find_spectra_file_type
, seasonder_defaultSpecsFilePath
[Package SeaSondeR version 0.2.8 Index]