Closed dplarson closed 4 years ago
Based on prior discussions, the validation, resample and alignment steps will initially be just:
with raises <Exception>
added in relevant places for issues with data, e.g., obs provided at a different frequency than fx.
Then tests will be needed for the metrics.preprocessing.process_forecast_observations()
(to check support for event obs/fx) as well as the reports.main.create_raw_report_from_data()
.
Closing now that PR #361 was merged.
Creating a separate issue from #357 to make it easier to think through everything. (Or, at least, it's easier for me.)
Once the event obs/fx dataclasses are integrated, the next step is to make the reports support evaluating event obs/fx pairs. This should be relatively similar to the deterministic forecasts, but there may need to be a few (likely) minor tweaks. The main starting point seems to be
reports.main.create_raw_report_from_data()
, which:datamodel.Report()
object) and data to be evaluated (adict
with Forecast and Obseration objects as the keys)Since #361 is already adding support for computing event metrics using the
metrics.calculator.calculate_metrics()
function, the key changes then should be in the pre-process step (which callsmetrics.preprocessing.process_forecast_observations()
). Namely, revising to:Once this issue is resolved, the focus will then turn to adding support for event forecast reports to the dashboard: https://github.com/SolarArbiter/solarforecastarbiter_dashboard/issues/216