solarforecastarbiter.reports.main.compute_report(access_token, report_id, base_url=None)[source]

Create a raw report using data from API. Typically called as a task. Failures will attempt to post a message for the failure in an empty RawReport to the API.

  • session (solarforecastarbiter.api.APISession) – API session for getting and posting data
  • report_id (str) – ID of the report to fetch from the API and generate the raw report for

raw_report (solarforecastarbiter.datamodel.RawReport)