solarforecastarbiter.io.api.APISession.post_observation_values

APISession.post_observation_values(observation_id, observation_df, params=None)[source]

Upload the given observation values to the appropriate observation_id of the API.

Parameters:
  • observation_id (string) – UUID of the observation to add values for
  • observation_df (pandas.DataFrame) – Dataframe with a datetime index and the (required) value and quality_flag columns to upload to the API.
  • params (dict, list, string, default None) – Parameters passed through POST request. Types are the same as Requests <https://2.python-requests.org/en/master/api/#requests.Request>