xyzToEnuAdpAD2CP: Convert ADP2CP adp object From XYZ to ENU Coordinates

View source: R/adp.R

xyzToEnuAdpAD2CPR Documentation

Convert ADP2CP adp object From XYZ to ENU Coordinates


This function will b in active development through the early months of 2019, and both the methodology and user interface may change without notice. Only developers (or invitees) should be trying to use this function.


xyzToEnuAdpAD2CP(x, declination = 0, debug = getOption("oceDebug"))



an adp object created by read.adp.ad2cp().


IGNORED at present, but will be used at some later time.


an integer specifying whether debugging information is to be printed during the processing. This is a general parameter that is used by many oce functions. Generally, setting debug=0 turns off the printing, while higher values suggest that more information be printed. If one function calls another, it usually reduces the value of debug first, so that a user can often obtain deeper debugging by specifying higher debug values.


An object with data$v[,,1:3] altered appropriately, and x[["oceCoordinate"]] changed from xyz to enu.


This only works if the instrument orientation is "AHRS", and even that is not tested yet. Plus, as noted, the declination is ignored.


Dan Kelley


  1. Nortek AS. “Signature Integration 55|250|500|1000kHz.” Nortek AS, 2017.

  2. Nortek AS. “Signature Integration 55|250|500|1000kHz.” Nortek AS, 2018.

See Also

Other things related to adp data: [[,adp-method, [[<-,adp-method, ad2cpCodeToName(), ad2cpHeaderValue(), adp-class, adpAd2cpFileTrim(), adpConvertRawToNumeric(), adpEnsembleAverage(), adpFlagPastBoundary(), adpRdiFileTrim(), adp_rdi.000, adp, applyMagneticDeclination,adp-method, as.adp(), beamName(), beamToXyzAdpAD2CP(), beamToXyzAdp(), beamToXyzAdv(), 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(), xyzToEnuAdp(), xyzToEnu()

oce documentation built on April 25, 2023, 5:07 p.m.