SeaSondeRCS_MUSIC_validate_doppler_interpolation {SeaSondeR}R Documentation

Validate Doppler Interpolation Factor for SeaSondeRCS Objects

Description

This function validates the doppler_interpolation factor for a SeaSondeRCS object, ensuring it is within the allowed range and does not result in exceeding the maximum number of Doppler bins after interpolation.

Usage

SeaSondeRCS_MUSIC_validate_doppler_interpolation(value, seasonder_cs_object)

Arguments

value

An integer specifying the Doppler interpolation factor. Must be one of 1, 2, 3, or 4.

seasonder_cs_object

A SeaSondeRCS object containing metadata for Doppler bin calculations.

Details

Doppler interpolation is a process that increases the number of Doppler bins by the specified factor before radial processing. The function performs the following validations:

The maximum Doppler bins (2048) constraint is derived from CODAR's SeaSonde R8 Radial Config Setup, which specifies that the product of the interpolation factor and the original number of Doppler bins should not exceed this limit.

Value

The validated doppler_interpolation factor as an integer.

Warnings

See Also

seasonder_getnDopplerCells for retrieving the number of Doppler bins, seasonder_logAndAbort for error handling and logging.


[Package SeaSondeR version 0.2.8 Index]