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 the NSDFA tracking sheet). Must include columns- Inst_Altitude,- Bin_Size, and- First_Bin_Range. Option to use default value- metadata = 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.