beamToXyzAdv: Convert ADV from Beam to XYZ Coordinates

Description Usage Arguments Details Author(s) References See Also

View source: R/adv.R

Description

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

Usage

1
beamToXyzAdv(x, debug = getOption("oceDebug"))

Arguments

x

an adv object.

debug

a flag that, if non-zero, turns on debugging. Higher values yield more extensive debugging.

Details

The coordinate transformation is done using the transformation matrix contained in transformation.matrix in the metadata slot, which is normally inferred from the header in the binary file. If there is no such matrix (e.g. if the data were streamed through a data logger that did not capture the header), beamToXyzAdv the user will need to store one in x, e.g. by doing something like the following:

1
2
3
x[["transformation.matrix"]] <- rbind(c(11100, -5771, -5321),
                                      c( #' 291, 9716, -10002),
                                      c( 1409, 1409, 1409)) / 4096

Author(s)

Dan Kelley

References

  1. @template nortekCoordTemplate

See Also

See read.adv() for notes on functions relating to "adv" objects.

Other things related to adp data: [[,adp-method, [[<-,adp-method, ad2cpHeaderValue(), adp-class, adpEnsembleAverage(), adp_rdi.000, adp, as.adp(), beamName(), beamToXyzAdpAD2CP(), beamToXyzAdp(), beamToXyz(), beamUnspreadAdp(), binmapAdp(), enuToOtherAdp(), enuToOther(), handleFlags,adp-method, is.ad2cp(), plot,adp-method, read.adp.ad2cp(), read.adp.nortek(), read.adp.rdi(), read.adp.sontek.serial(), read.adp.sontek(), read.adp(), read.aquadoppHR(), read.aquadoppProfiler(), read.aquadopp(), rotateAboutZ(), setFlags,adp-method, subset,adp-method, subtractBottomVelocity(), summary,adp-method, toEnuAdp(), toEnu(), velocityStatistics(), xyzToEnuAdpAD2CP(), xyzToEnuAdp(), xyzToEnu()


dankelley/oce documentation built on April 8, 2021, 3:47 a.m.