Assign altitude (height above sea floor) to each bin
adcp_assign_altitude.RdAssign 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 CURRENT & WAVE TRACKING). Must include columnssensor_height_above_sea_floor_m,bin_size_m, andfirst_bin_range_m. Option to use default valuemetadata = NULLand provide the required values in the remaining arguments.- inst_alt
Height of the sensor above the sea floor (in metres). Not used if
metadataargument is specified.- bin_size
Size of each bin (in metres). Not used if
metadataargument is specified.- first_bin_range
Distance from the transducer face to the centre of the first bin (in metres). Not used if
metadataargument is specified.