enuToOtherAdp(x, heading = 0, pitch = 0, roll = 0)adp object, i.e. one inheriting from adp-class.heading but for pitch.heading but for roll.data$v[,1:3,] altered appropriately, and
metadata$oce.coordinate changed from enu to other.
heading=45 is used.The returned value has heading, pitch, and roll matching those of x,
so these angles retain their meaning as the instrument orientation.
NOTE: this function works similarly to xyzToEnuAdp, except
that in the present function, it makes no difference whether the instrument
points up or down, etc.
read.adp for other functions that relate to
objects of class "adp".Other things related to adp data: [[,adp-method,
[[<-,adp-method, adp-class,
adp, as.adp,
beamName, beamToXyzAdp,
beamToXyzAdv, beamToXyz,
beamUnspreadAdp, binmapAdp,
enuToOther, plot,adp-method,
read.adp.nortek,
read.adp.rdi,
read.adp.sontek.serial,
read.adp.sontek, read.adp,
read.aquadoppHR,
read.aquadoppProfiler,
read.aquadopp,
subset,adp-method,
summary,adp-method, toEnuAdp,
toEnu, velocityStatistics,
xyzToEnuAdp, xyzToEnu
library(oce)
data(adp)
o <- enuToOtherAdp(adp, heading=-31.5)
plot(o, which=1:3)
Run the code above in your browser using DataLab