Skip to contents

Getter for header

Usage

seasonder_getSeaSondeRCS_header(seasonder_cs_object)

Arguments

seasonder_cs_object

SeaSondeRCS object

Value

A list containing the header data of the SeaSondeRCS object.

Examples

# Create a minimal SeaSondeRCS object with a header attribute
cs_obj <- structure(list(data = list(a = 1, b = 2)), class = "SeaSondeRCS")
attr(cs_obj, "header") <- list(
  nSiteCodeName = "Station1",
  nDateTime = Sys.time(),
  nDopplerCells = 2,
  nRangeCells = 3
)
header_data <- seasonder_getSeaSondeRCS_header(cs_obj)
print(header_data)
#> list()