get_overlapping_timestamps

HSTB.kluster.fqpr_vessel.get_overlapping_timestamps(timestamps, starttime, endtime)

Find the timestamps in the provided list of timestamps that fall between starttime/endtime. Return these timestamps as a list. First timestamp in the list is always the nearest to the starttime without going over.

Parameters
  • timestamps (list) – list of timestamps we want to pull from, to get the timestamps between starttime and endtime

  • starttime (int) – integer utc timestamp in seconds

  • endtime (int) – integer utc timestamp in seconds

Returns

list of timestamps that are within the starttime/endtime range

Return type

list