Assign altitude (height above sea floor) to each bin
adcp_assign_altitude.Rd
Assign altitude (height above sea floor) to each bin
Usage
adcp_assign_altitude(
dat_wide,
metadata = NULL,
inst_alt = NULL,
bin_size = NULL,
first_bin_range = NULL
)
Arguments
- dat_wide
Data frame of ADCP data, as exported from
adcp_read_txt()
.- metadata
Data frame with metadata information for the deployment in
dat_wide
(e.g., a row from the NSDFA tracking sheet). Must include columnsInst_Altitude
,Bin_Size
, andFirst_Bin_Range
. Option to use default valuemetadata = NULL
and provide the required values in the remaining arguments.- inst_alt
Height of the sensor above the sea floor (in metres). Not used if
metadata
argument is specified.- bin_size
Size of each bin (in metres). Not used if
metadata
argument is specified.- first_bin_range
Distance from the transducer face to the centre of the first bin (in metres). Not used if
metadata
argument is specified.