pyrad.util.join_time_series#

pyrad.util.join_time_series(t1, val1, t2, val2, dropnan=False)[source]#

joins time_series. Only of package pandas is available otherwise returns None.

Parameters:
  • t1 (datetime array) – time of first series

  • val1 (float array) – value of first series

  • t2 (datetime array) – time of second series

  • val2 (float array) – value of second series

  • dropnan (boolean) – if True remove NaN from the time series

Returns:

  • t_out_vec (datetime array) – the resultant date time after joining the series

  • val1_out_vec (float array) – value of first series

  • val2_out_vec (float array) – value of second series