Learn R Programming

oce (version 0.1-78)

adv.enu2other: Convert ADV from beam coordinates to enu coordinates

Description

Convert ADV velocity components from a beam-based coordinate system to an enu-based coordinate system.

Usage

adv.enu2other(x, heading=0, pitch=0, roll=0)

Arguments

x
an object of class "adv".
heading
angle, in degrees, to be added to the heading.
pitch
angle to be added to the pitch.
roll
angle to be added to the roll.

Details

The value of x$metadata$oce.coordinate is set to "other" to indicate this change in coordinate system.

See Also

See read.adv for notes on functions relating to "adv" objects.