Skip to contents

This function validates if the provided BEAR is a numeric vector and if its length matches the number of columns in the calibration_matrix of the given SeaSondeRAPM object. It also validates that the bearings are between -180 and 180 degrees.

Usage

validate_SeaSondeRAPM_BEAR(vector, seasonde_apm_obj)

Arguments

vector

The numeric vector to be validated.

seasonde_apm_obj

The SeaSondeRAPM object for compatibility check.

Value

Returns TRUE if the validation passes.