solarforecastarbiter.metrics.calculator.calculate_summary_statistics

solarforecastarbiter.metrics.calculator.calculate_summary_statistics(processed_fx_obs, categories)[source]

Calculate summary statistics for the processed data using the provided categories and all metrics defined in summary.

Parameters:
Returns:

solarforecastarbiter.datamodel.MetricResult – Contains all the computed statistics by category.

Raises:

RuntimeError – If there is no data to summarize