km3dq_common.lw_db_signoff_library

Functions

get_unsignedoff_runs(det[, dq_tag_name])

Return the unsignedoff PHYS runs based on the defect files stored on SFTP

Module Contents

km3dq_common.lw_db_signoff_library.get_unsignedoff_runs(det, dq_tag_name='default')[source]

Return the unsignedoff PHYS runs based on the defect files stored on SFTP (“signoff” defect type)

=== Arguments === - det : detector name - [string] - Ex: “D0ARCA021”, “D0ORCA018”… - dq_tag_name : data quality tag name - [string] - Ex: “default”, “neutrino2024”

=== Output === - Dictionnary with def_[defect] as keys and a value for each affected run. This value will be decoded by the decode_defect_diag_byte function. Ex: {‘def_daq’: {}, ‘def_operation’: {16501: 1, 16503: 2}…}