solarforecastarbiter.io.api.APISession.get_value_gaps

APISession.get_value_gaps(obj, start, end)[source]

Get gaps in the time series values from start to end for object from the API.

Parameters:
Returns:

list of (pd.Timestamp, pd.Timestamp) – Of (start, end) gaps in the values from the last timestamp of a valid value to the next valid timestamp. Interval label is not accounted for.

Raises:
  • ValueError – If start or end cannot be converted into a Pandas Timestamp
  • TypeError – If an invalid type of obj is supplied