pyrad.util.find_contiguous_times#

pyrad.util.find_contiguous_times(times, step=600)[source]#

Given and array of ordered times, find those contiguous according to a maximum time step

Parameters:
  • times (array of datetimes) – The array of times

  • step (float) – The time step [s]

Returns:

start_times, end_times (array of date times) – The start and end of each consecutive time period