adp.xyz2enu {oce}R Documentation

Convert ADP from xyz coordinates to enu coordinates

Description

Convert ADP velocity components from a xyz-based coordinate system to an enu-based coordinate system, by using the instrument's recording of heading, pitch, and roll.

Usage

adp.xyz2enu(x)

Arguments

x an object of class "adp".

Details

Different formulae are used for different instruments, e.g for RDI instruments, beams are rotated using formulae from page 13 and 14 of RD Instruments (1998).

Value

An object with the data$ma$v[,1:3,] altered appropriately, and with metadata$oce.orientation changed from xyz to enu.

Author(s)

Dan Kelley

References

RD Instruments, 1998. ADCP Coordinate Transformation, formulas and calculations. P/N 951-6079-00 (July 1998).

See Also

See read.adp for other functions that relate to objects of class "adp".

Examples

library(oce)
data(adp)
f <- adp.beam2xyz(adp)
e <- adp.xyz2enu(f)
plot(e, which=1:3)

[Package oce version 0.1-80 Index]