Add Alarm-Based and Temporal Forecast Evaluation Support #283
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pyCSEP Pull Request Checklist
Please check out the contributing guidelines for some tips
on making pull requests to pyCSEP.
Summary
Add support for alarm-based earthquake forecast evaluation, including temporal (time-series) alarm-based forecasts. This introduces functions for loading, evaluating, and visualizing alarm-based forecasts using ROC curves and Molchan diagrams.
New Features
csep.load_alarm_forecast()- Load alarm-based forecasts from CSVcsep.load_temporal_forecast()- Load temporal probability sequencescsep.compute_temporal_observations()- Compute binary observations from catalogplots.plot_temporal_ROC_diagram()- Temporal ROC evaluationplots.plot_temporal_Molchan_diagram()- Temporal Molchan evaluationDocumentation
docs/concepts/forecasts.rstdocs/concepts/evaluations.rstdocs/tutorials/alarm_forecast_evaluation.rstExamples
examples/tutorials/alarm_forecast_demo.py- Complete alarm forecast demo with GeoNetexamples/tutorials/temporal_evaluation/- Multi-model temporal comparison exampleType of change:
Checklist: