| read.adp.ad2cp {oce} | R Documentation |
This function may be incomplete in some important ways,
because AD2CP data formats are not described clearly enough
in references 1, 2 and 3 to be certain of how to handle
the range of file configurations that may be possible. The code
has been tested with a small number of files that are available
to the author, but these do not cover some cases that users might
require, e.g. involving echosounder and altimeter data streams.
Please be on the lookout for problems and contact
the author if you need help. Also, note that some of the standard
read.adp.* arguments are handled differently with
this function, e.g. by must equal 1, because skipping
records makes little sense with blended multiple streams;
see the “Arguments” section for other limitations
that stem from the specifics of this file format.
read.adp.ad2cp(
file,
from = 1,
to = 0,
by = 1,
tz = getOption("oceTz"),
longitude = NA,
latitude = NA,
orientation,
distance,
plan,
type,
monitor = FALSE,
despike = FALSE,
processingLog,
debug = getOption("oceDebug"),
...
)
file |
A connection or a character string giving the name of the file to load. |
from |
An integer indicating the index number of the first record to
read. This must equal 1, for this version of |
to |
An integer indicating the final record to read.
(If not provided, |
by |
An integer indicating the step from record to record. This
must equal 1, for this version of |
tz |
Character value indicating time zone. This is used in interpreting times stored in the file. |
longitude |
Numerical value indicating the longitude of observation. |
latitude |
Numerical value indicating the latitude of observation. |
orientation |
Ignored by |
distance |
Ignored by |
plan |
Optional integer specifying which 'plan' to focus on (see reference 1 for the meaning of 'plan'). If this is not given, it defaults to the most common plan in the requested subset of the data. |
type |
Optional character value indicating the type of Nortek instrument.
If this is not provided, an attempt is made to infer it
from the file header (if there is one), and |
monitor |
Logical value indicating whether the progress in reading
the file is to be illustrated by calling |
despike |
Ignored by this function, and provided only for similarity to other adp-reading functions. |
processingLog |
Character value that, if provided, is saved
within the |
debug |
Integer value indicating the level of debugging. Set to 1 to get a moderate amount of debugging information, or to 2 to get more. |
... |
Ignored by this function. |
Dan Kelley
Nortek AS. “Signature Integration 55|250|500|1000kHz.” Nortek AS, 2017.
Nortek AS. “Operations Manual - Signature250, 500 and 1000.” Nortek AS, September 21, 2018.
Nortek AS. “Signature Integration 55|250|500|1000kHz.” Nortek AS, 2018. (This revision of
reference 1 is useful in including new information about instrument orientation. Note that
most of the comments within the read.adp.ad2cp code refer to reference 1, which has different
page numbers than reference 3.)
Other things related to adp data:
[[,adp-method,
[[<-,adp-method,
ad2cpHeaderValue(),
adp-class,
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.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()
## Not run:
d <- read.adp.ad2cp("~/test.ad2cp", to=100) # or read.oce()
## End(Not run)