solarforecastarbiter.io.fetch.rtc.fetch_doe_rtc¶
-
solarforecastarbiter.io.fetch.rtc.
fetch_doe_rtc
(location, api_key, start, end)[source]¶ Requests and concatenates data from the DOE RTC pv dashboard API into a single dataframe.
Parameters: - location (string) – Name of the DOE RTC location.
- api_key (string) – The Api key for accessing the DOE RTC API.
- start (datetime) – Beginning of the period for which to request data.
- end (datetime) – End of the period for which to request data.
Returns: pandas.DataFrame – With data from start to end. Index is a datetime-index NOT localized but in the timezone for the location