Learn R Programming

oce (version 0.1-81)

adv.2enu: Convert ADV to enu coordinates, from any other coordinates

Description

Convert ADV velocities to enu coordinates, from any other coordinates

Usage

adv.2enu(x, declination=0, debug=getOption("oce.debug"))

Arguments

x
an object of class "adv".
declination
magnetic declination to be added to the heading, to get ENU with N as "true" north.
debug
a flag that, if non-zero, turns on debugging. Higher values yield more extensive debugging. This is passed to called functions, after subtracting 1.

Details

This is mostly a wrapper that calls adv.beam2xyz if needed, and then calls adv.xyz2enu.

References

1. Nortek coordinate transformaton matlab script (http://www.nortek-as.com/lib/forum-attachments/coordinate-transformation)

See Also

See read.adv for notes on functions relating to "adv" objects. Also, see adv.beam2xyz and adv.xyz2enu.