Learn R Programming

oce (version 0.1-81)

adv.enu2other: Convert ADV from east-north-up coordinates to other coordinates

Description

Convert ADV velocity components from an enu-based coordinate system to another system, perhaps to align axes with the coastline.

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.