solarforecastarbiter.reports.template.render_html(report, dash_url='', with_timeseries=True, body_only=False)[source]

Create full html file.

The Solar Forecast Arbiter dashboard will likely use its own templates for rendering the full html.

  • report (solarforecastarbiter.datamodel.Report) –
  • dash_url (str) – URL of the Solar Forecast arbiter dashboard to use when building links.
  • with_timeseries (bool) – Whether or not to include timeseries plots.
  • body_only (bool) – When True, returns a div for injecting into another template, otherwise returns a full html document with the required <html> and <head> tags.

str – The rendered html report