Skip to contents

This function checks whether the specified method for First Order Region (FOR) detection is supported. If an unsupported method is provided, it logs an error and aborts execution.

Usage

seasonder_validateFORMethod(method)

Arguments

method

A character string specifying the FOR processing method. Currently, only "SeaSonde" is supported.

Value

The function returns the input method invisibly if it is valid.

Details

The function verifies that the method argument is valid. If the method is not recognized, an error is raised using seasonder_logAndAbort.

Supported Methods:

  • "SeaSonde": Implements first-order region detection based on CODAR's SeaSonde methodology.

See also