Learn R Programming

oce (version 0.1-81)

adv.beam2xyz: Convert ADV from beam coordinates to xyz coordinates

Description

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

Usage

adv.beam2xyz(x, debug=getOption("oce.debug"))

Arguments

x
an object of class "adv".
debug
a flag that, if non-zero, turns on debugging. Higher values yield more extensive debugging.

Details

The coordinate transformation is done using the matrix contained within the header. To indicate the change, the value of metadata$oce.orientation is changed from beam to xyz.

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.