Skip to contents

Get the nDopplerCells value from a SeaSondeRCS object

Usage

seasonder_getnDopplerCells(seasonder_obj)

Arguments

seasonder_obj

A SeaSondeRCS object.

Value

The nDopplerCells value.

Examples

# Minimal example for seasonder_getnDopplerCells
cs_file <- system.file("css_data/CSS_TORA_24_04_04_0700.cs", package = "SeaSondeR")
apm_file <- system.file("css_data/MeasPattern.txt", package = "SeaSondeR")
apm_obj <- seasonder_readSeaSondeRAPMFile(apm_file)
#> seasonder_createSeaSondeRAPM:  APM object created successfully.
cs_obj <- seasonder_createSeaSondeRCS(cs_file, seasonder_apm_object = apm_obj)
#> new_SeaSondeRCS:  SeaSondeRCS object created successfully.
n_doppler_cells <- seasonder_getnDopplerCells(cs_obj)
print(n_doppler_cells)
#> [1] 1024