hex_to_cnv | R Documentation |
This function decodes hexadecimal-formatted Sea-Bird CTD files to cnv files.
hex_to_cnv(
hex_path,
output_path,
xmlcon_path = NULL,
sample_interval = 0.25,
output_channels = NULL,
output_sig_digits = NULL
)
hex_path |
Path to a .hex file |
output_path |
Path to the output file location for a .cnv file |
xmlcon_path |
Optional. Path to config file. Must be provided if .hex file does not contain configuration file parameters. |
sample_interval |
Sampling interval for scans; 0.25 for a typical SBE19plus V2 deployment. |
output_channels |
Optional. Named vector of output channels and their names. Do not use unless outputs are are not the defaults. |
output_sig_digits |
Optional. Significant digits after the decimal place for output channels. Only change if a subset of channels. Do not use unless outputs are are not the defaults. |
Sean Rohan
# Convert SBE19plus CTD .hex file to .cnv
library(gapctd)
hex_to_cnv(hex_path = system.file("./extdata/example/SBE19plus_01908106_2023_06_19_0001.hex", package = "gapctd"),
xmlcon_path = system.file("./extdata/example/SBE19plusV2_8106_ph_DO_leg2.xmlcon", package = "gapctd"),
output_path = "SBE19plus_01908106_2023_06_19_0001_raw.cnv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.