View source: R/seasonder_specsHandling.R
seasonder_defaultSpecsPathForFile | R Documentation |
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.
seasonder_defaultSpecsPathForFile(filepath, endian = "big")
filepath |
A character string specifying the path to the spectra file. |
endian |
A character string indicating the file's byte order ("big" by default). |
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.
A character string representing the default YAML specifications file path for the detected file type.
seasonder_find_spectra_file_type
, seasonder_defaultSpecsFilePath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.