get_ping_times

HSTB.kluster.fqpr_generation.get_ping_times(pingrec_time, idx)

Given a rangeangle Dataset and an index of values that we are interested in from the Dataset, return the ping time, which is just the time coordinate of the rangeangle Dataset

Parameters
  • pingrec_time (DataArray) – xarray Dataarray, time coordinate from ping record

  • idx (DataArray) – xarray Dataarray, times of interest from the DataSet

Returns

1 dim ping times from the DataSet

Return type

xr.DataArray