solarforecastarbiter.io.fetch.sandia.fetch_sandia

solarforecastarbiter.io.fetch.sandia.fetch_sandia(location, api_key, start, end)[source]

Requests and concatenates data from the Sandia API into a single dataframe.

Parameters:
  • location (string) – Name of the Sandia location.
  • api_key (string) – The Api key for accessing the Sandia 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