| adpFlagPastBoundary {oce} | R Documentation |
Flag variables with the same dimension of v in
an adp object that are beyond the water column boundary.
Currently, this operation can only be performed on adp
objects that contain bottom ranges. Commonly, handleFlags() would
then be used to remove such data.
adpFlagPastBoundary(
x = NULL,
fields = NULL,
df = 20,
trim = 0.15,
good = 1,
bad = 4,
debug = getOption("oceDebug")
)
x |
an adp object containing bottom ranges. |
fields |
a variable contained within |
df |
the degrees of freedom to use during the smoothing spline operation. |
trim |
a scale factor for boundary trimming (see “Details”). |
good |
number stored in flags to indicate good data. |
bad |
number stored in flags to indicate bad data. |
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
This works by fitting a smoothing spline to a bottom range with a defined number of degrees of freedom. For each time, it then searches to determine which associated distances are greater than the predicted smooth spline multiplied by 1-trim.
adpFlagPastBoundary returns an adp object with flags
adjusted in the specified fields if data are beyond the water column boundary.
Jaimie Harbin, Clark Richards, and Dan Kelley
Other things related to adp data:
[[,adp-method,
[[<-,adp-method,
ad2cpHeaderValue(),
adp-class,
adpConvertRawToNumeric(),
adpEnsembleAverage(),
adp_rdi.000,
adp,
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(),
xyzToEnuAdpAD2CP(),
xyzToEnuAdp(),
xyzToEnu()