solarforecastarbiter.io.utils.forecast_object_to_json

solarforecastarbiter.io.utils.forecast_object_to_json(forecast_series)[source]

Converts a forecast Series to JSON to post to the SolarForecastArbiter API.

Parameters:forecast_series (pandas.Series) – The series that contains the forecast values with a datetime index.
Returns:string – The JSON encoded forecast values dict