solarforecastarbiter.reports.template.render_html¶
-
solarforecastarbiter.reports.template.
render_html
(report, dash_url='https://dashboard.solarforecastarbiter.org', 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.
Parameters: - 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.
Returns: str – The rendered html report
- report (