View source: R/adcp_assign_altitude.R
adcp_assign_altitude | R Documentation |
Assign altitude (height above sea floor) to each bin
adcp_assign_altitude(
dat_wide,
metadata = NULL,
inst_alt = NULL,
bin_size = NULL,
first_bin_range = NULL
)
dat_wide |
Data frame of ADCP data, as exported from
|
metadata |
Data frame with metadata information for the deployment in
|
inst_alt |
Height of the sensor above the sea floor (in metres). Not
used if |
bin_size |
Size of each bin (in metres). Not used if |
first_bin_range |
Distance from the transducer face to the centre of the
first bin (in metres). Not used if |
The height to the centre of the bins is calculated as:
first bin altitude = inst altitude + first bin range
second bin altitude = first bin altitude + bin size
third bin altitude = second bin altitude + bin size
And so on.
Returns dat_wide
, with bin columns re-named with corresponding
altitude (in metres).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.