This method creates a SeaSondeRCS object directly from a list containing the header and data.
Usage
# S3 method for class 'list'
seasonder_createSeaSondeRCS(x, specs_path = NULL, ...)
Details
The function creates a new SeaSondeRCS object using new_SeaSondeRCS
with the provided header and data.
It then appends a processing step, generated by SeaSondeRCS_creation_step_text("list")
, to the object via
seasonder_setSeaSondeRCS_ProcessingSteps
.
Examples
# Given a list with header and data, create a SeaSondeRCS object
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
specs_path <- seasonder_defaultSpecsFilePath("CS")
temp_obj <- seasonder_readSeaSondeCSFile(cs_file, specs_path)
cs_list <- list(header = temp_obj$header, data = temp_obj$data)
rcs_object <- seasonder_createSeaSondeRCS(cs_list)