adp.xyz2enu {oce} | R Documentation |
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.
adp.xyz2enu(x)
x |
an object of class "adp" . |
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).
An object with the data$ma$v[,1:3,]
altered appropriately,
and with metadata$oce.orientation
changed from xyz
to
enu
.
Dan Kelley
RD Instruments, 1998. ADCP Coordinate Transformation, formulas and calculations. P/N 951-6079-00 (July 1998).
See read.adp
for other functions that relate to objects
of class "adp"
.
library(oce) data(adp) f <- adp.beam2xyz(adp) e <- adp.xyz2enu(f) plot(e, which=1:3)