Skip to content

Fix issue in daily updates #422

Description

@153957

There is some issue in the daily update. This is reported in Sentry.

Traceback (most recent call last):
  File "…/…/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "…publicdb/www/publicdb/histograms/jobs.py", line 293, in perform_events_tasks
    update_detector_timing_offsets(summary)
  File "…publicdb/www/publicdb/histograms/jobs.py", line 456, in update_detector_timing_offsets
    offsets = esd.determine_detector_timing_offsets_for_summary(summary)
  File "…publicdb/www/publicdb/histograms/esd.py", line 397, in determine_detector_timing_offsets_for_summary
    offsets = determine_detector_timing_offsets(table, station)
  File "…/…/site-packages/sapphire/analysis/calibration.py", line 60, in determine_detector_timing_offsets
    off...

ValueError `ydata` must not be empty!

Investigate for which station (Summary) this is happening and fix the issue.
Might be related to bad data, or a bug in the data analysis.

This might be responsible for the incorrect status indicators on the main station data overview page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions