Open claya71 opened 2 weeks ago
Note that item 2 can be computed currently across all models and energy channels, or per energy channel with the following log lines:
(example from 202408 monthly processing)
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.10.0.max.-1.0.units.MeV, 30809
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.100.0.max.-1.0.units.MeV, 25060
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.5.0.max.-1.0.units.MeV, 0
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.30.0.max.-1.0.units.MeV, 24893
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.50.0.max.-1.0.units.MeV, 17044
2024-10-02 00:43:09 - [INFO] validation_json_handler.load_objects_from_json: STATS: Forecast objects created for : min.10.0.max.-1.0.units.MeV_min.5.0.max.-1.0.units.MeV, 0
2024-10-02 01:25:13 - [INFO] match.setup_match_all_forecasts: STATS: TOTAL SPHINX OBJECTS: 83571
In this example:
>>> N_fcast = 30809 + 25060 + 24893 + 17044
>>> N_fcast
97806
>>> N_sphinx = 83571
>>> N_sphinx / N_fcast
0.854456781792528
Similar computations can be made per energy channel by summing up the lines like this:
2024-10-02 01:25:13 - [INFO] match.setup_match_all_forecasts: STATS: SPHINX objects created for GSU All Clear, min.10.0.max.-1.0.units.MeV: 704
across the energy channels. But there is currently no way to obtain a fraction per model. I suggest that we do not solve this by adding more log lines, instead let's create a summary data file that has exactly what we want in an easy-to-use data format.
Created new issue #145 to encapsulate what is desired for item 2.
Items of feedback for the log files to help understanding/ease of reading/finding useful information.