Commit 7275da9b authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

[SIGMON-145] fixes for the notebooks that failed in job 17131678

parent 6e07335d
Pipeline #3165757 canceled with stage
in 21 minutes and 11 seconds
......@@ -130,11 +130,11 @@
analysis = R600ACircuitAnalysis(circuit_type, results_table, is_automatic=is_automatic)
timestamp_dct = {'FGC': timestamp_fgc, 'PIC': timestamp_pic,
'QDS_A': lhcsmnb.utils.get_at(source_timestamp_qds_df, 0, 'timestamp', default=np.nan),
'QDS_B': slhcsmnb.utils.get_at(source_timestamp_qds_df, 1, 'timestamp', default=np.nan)}
'QDS_B': lhcsmnb.utils.get_at(source_timestamp_qds_df, 1, 'timestamp', default=np.nan)}
if 'EE' in SignalMetadata.get_system_types_per_circuit_name(circuit_type, circuit_name):
timestamp_dct['EE'] = lhcsmnb.utils.get_at(source_timestamp_ee_df, 0, 'timestamp', default=np.nan)
```
%% Cell type:markdown id: tags:
......
......@@ -53,25 +53,26 @@
%% Cell type:code id: tags:
``` python
# External libraries
print('Loading (1/13)'); import sys
print('Loading (2/13)'); import pandas as pd
print('Loading (3/13)'); import numpy as np
print('Loading (4/13)'); from IPython.display import display, Javascript, clear_output
print('Loading (1/14)'); import sys
print('Loading (2/14)'); import pandas as pd
print('Loading (3/14)'); import numpy as np
print('Loading (4/14)'); from IPython.display import display, Javascript, clear_output
# Internal libraries
print('Loading (5/13)'); import lhcsmapi
print('Loading (6/13)'); from lhcsmapi.Time import Time
print('Loading (7/13)'); from lhcsmapi.Timer import Timer
print('Loading (8/13)'); from lhcsmapi.analysis.IpqCircuitQuery import IpqCircuitQuery
print('Loading (9/13)'); from lhcsmapi.analysis.IpqCircuitAnalysis import IpqCircuitAnalysis
print('Loading (10/13)'); from lhcsmapi.analysis.report_template import apply_report_template
print('Loading (11/13)'); from lhcsmapi.gui.hwc.HwcSearchModuleMediator import HwcSearchModuleMediator
print('Loading (12/13)'); from lhcsmapi.pyedsl.PlotBuilder import create_hwc_plot_title_with_circuit_name
print('Loading (13/13)'); from lhcsmapi.analysis.expert_input import get_expert_decision
print('Loading (5/14)'); import lhcsmapi
print('Loading (6/14)'); from lhcsmapi.Time import Time
print('Loading (7/14)'); from lhcsmapi.Timer import Timer
print('Loading (8/14)'); from lhcsmapi.analysis.IpqCircuitQuery import IpqCircuitQuery
print('Loading (9/14)'); from lhcsmapi.analysis.IpqCircuitAnalysis import IpqCircuitAnalysis
print('Loading (10/14)'); from lhcsmapi.analysis.report_template import apply_report_template
print('Loading (11/14)'); from lhcsmapi.gui.hwc.HwcSearchModuleMediator import HwcSearchModuleMediator
print('Loading (12/14)'); from lhcsmapi.pyedsl.PlotBuilder import create_hwc_plot_title_with_circuit_name
print('Loading (13/14)'); from lhcsmapi.analysis.expert_input import get_expert_decision
print('Loading (14/14)'); import lhcsmnb.utils
clear_output()
lhcsmapi.get_lhcsmapi_version()
lhcsmapi.get_lhcsmhwc_version('../__init__.py')
print('Analysis performed by %s' % HwcSearchModuleMediator.get_user())
......
......@@ -173,13 +173,13 @@
# EE Voltage Reference
if t_start_ref:
source_timestamp_ee_odd_ref_df = rb_query.find_source_timestamp_ee(timestamp_fgc_ref, system='EE_ODD')
source_timestamp_ee_even_ref_df = rb_query.find_source_timestamp_ee(timestamp_fgc_ref, system='EE_EVEN')
u_dump_res_odd_ref_df = rb_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, system='EE_ODD', signal_names=['U_DUMP_RES'])[0]
u_dump_res_odd_ref_df = rb_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, system='EE_ODD', signal_names=['U_DUMP_RES'])[0]
u_dump_res_even_ref_df = rb_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 0, 'timestamp'), timestamp_fgc_ref, system='EE_EVEN', signal_names=['U_DUMP_RES'])[0]
u_dump_res_even_ref_df = rb_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 0, 'timestamp'), timestamp_fgc_ref, system='EE_EVEN', signal_names=['U_DUMP_RES'])[0]
# EE Temperature Reference
t_res_odd_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
if len(source_timestamp_ee_odd_ref_df) > 1:
t_res_odd_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
......
......@@ -150,13 +150,13 @@
# EE TEMPERATURE REF
source_timestamp_ee_odd_ref_df = rb_query.find_source_timestamp_ee(timestamp_fgc_ref, system='EE_ODD')
source_timestamp_ee_even_ref_df = rb_query.find_source_timestamp_ee(timestamp_fgc_ref, system='EE_EVEN')
t_res_odd_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
t_res_odd_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
if len(source_timestamp_ee_odd_ref_df) > 1:
t_res_odd_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
t_res_odd_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
else:
t_res_odd_1_ref_df = [pd.DataFrame(columns=['T_RES_BODY_1']), pd.DataFrame(columns=['T_RES_BODY_2']), pd.DataFrame(columns=['T_RES_BODY_3'])]
t_res_even_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_EVEN')
if len(source_timestamp_ee_even_ref_df) > 1:
t_res_even_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_EVEN')
......
......@@ -180,11 +180,11 @@
u_dump_res_even_ref_df = rb_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 0, 'timestamp'), timestamp_fgc_ref, system='EE_EVEN', signal_names=['U_DUMP_RES'])[0]
# EE Temperature Reference
t_res_odd_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
if len(source_timestamp_ee_odd_ref_df) > 1:
t_res_odd_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 1, 'timestamp), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
t_res_odd_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_odd_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_ODD')
else:
t_res_odd_1_ref_df = [pd.DataFrame(columns=['T_RES_BODY_1']), pd.DataFrame(columns=['T_RES_BODY_2']), pd.DataFrame(columns=['T_RES_BODY_3'])]
t_res_even_0_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 0, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_EVEN')
if len(source_timestamp_ee_even_ref_df) > 1:
t_res_even_1_ref_df = rb_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_even_ref_df, 1, 'timestamp'), timestamp_fgc_ref, signal_names=['T_RES_BODY_1', 'T_RES_BODY_2', 'T_RES_BODY_3'], system='EE_EVEN')
......
......@@ -157,11 +157,11 @@
# EE Voltage
source_timestamp_ee_odd_df = rb_query.find_source_timestamp_ee(timestamp_fgc, system='EE_ODD')
timestamp_ee_odd = lhcsmnb.utils.get_at(source_timestamp_ee_odd_df, 0, 'timestamp')
source_ee_odd = lhcsmnb.utils.get_at(source_timestamp_ee_odd_df, 0, 'source')
u_dump_res_odd_df = lhcsmnb.utils.get_at(rb_query.query_ee_u_dump_res_pm(timestamp_ee_odd, timestamp_fgc, system='EE_ODD', signal_names=['U_DUMP_RES'])[0]
u_dump_res_odd_df = rb_query.query_ee_u_dump_res_pm(timestamp_ee_odd, timestamp_fgc, system='EE_ODD', signal_names=['U_DUMP_RES'])[0]
source_timestamp_ee_even_df = rb_query.find_source_timestamp_ee(timestamp_fgc, system='EE_EVEN')
timestamp_ee_even = lhcsmnb.utils.get_at(source_timestamp_ee_even_df, 0, 'timestamp')
source_ee_even = lhcsmnb.utils.get_at(source_timestamp_ee_even_df, 0, 'source')
u_dump_res_even_df = rb_query.query_ee_u_dump_res_pm(timestamp_ee_even, timestamp_fgc, system='EE_EVEN', signal_names=['U_DUMP_RES'])[0]
......
......@@ -205,14 +205,14 @@
if len(source_timestamp_ee_rqd_ref_df) > 1:
t_res_1_rqd_ref_df = rqd_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_rqd_ref_df, 1, 'timestamp'), timestamp_fgc_rqd_ref, system='EE', signal_names=['T_RES'])[0]
else:
t_res_1_rqd_ref_df = pd.DataFrame(columns=['T_RES'])
u_dump_res_rqf_ref_df = rqf_query.query_ee_u_dump_res_pm(source_timestamp_ee_rqf_ref_df, 0, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['U_DUMP_RES'])[0]
t_res_0_rqf_ref_df = rqf_query.query_ee_t_res_pm(source_timestamp_ee_rqf_ref_df, 0, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['T_RES'])[0]
u_dump_res_rqf_ref_df = rqf_query.query_ee_u_dump_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_rqf_ref_df, 0, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['U_DUMP_RES'])[0]
t_res_0_rqf_ref_df = rqf_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_rqf_ref_df, 0, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['T_RES'])[0]
if len(source_timestamp_ee_rqf_ref_df) > 1:
t_res_1_rqf_ref_df = rqf_query.query_ee_t_res_pm(source_timestamp_ee_rqf_ref_df, 1, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['T_RES'])[0]
t_res_1_rqf_ref_df = rqf_query.query_ee_t_res_pm(lhcsmnb.utils.get_at(source_timestamp_ee_rqf_ref_df, 1, 'timestamp'), timestamp_fgc_rqf_ref, system='EE', signal_names=['T_RES'])[0]
else:
t_res_1_rqf_ref_df = pd.DataFrame(columns=['T_RES'])
t_pnob3 = (plateau_end[-1]-plateau_start[-1])/1e9
......
......@@ -9,82 +9,82 @@ import pytest
from lhcsmnb import outputs, parameters
IPD_NOTEBOOKS = [
('ipd', 'AN_IPD_PIC2', 'PIC2', 'RD1.L2', 'HWC_2018_1', '2018-03-13 19:13:07.613', '2018-03-13 19:30:26.299'),
('ipd', 'AN_IPD_PLI1.c2', 'PLI1.c2', 'RD1.L2', 'HWC_2017', '2017-04-21 15:29:16.672', '2017-04-21 15:37:08.150'),
('ipd', 'AN_IPD_PLI2.f2', 'PLI2.f2', 'RD1.L2', 'HWC_2014', '2015-02-14 07:50:31.801', '2015-02-14 08:08:01.351'),
('ipd', 'AN_IPD_PLI3.c5', 'PLI3.c5', 'RD1.L2', 'HWC_2017', '2017-04-21 16:12:20.835', '2017-04-21 16:27:48.341'),
('ipd', 'AN_IPD_PNO.a8', 'PNO.a8', 'RD1.L2', 'HWC_2018_2', '2018-12-03 13:36:52.811', '2018-12-03 13:59:04.050'),
('ipd', 'AN_IPD_PNO.c6', 'PNO.c6', 'RD1.L2', 'HWC_2017', '2017-04-22 13:43:21.522', '2017-04-22 14:57:58.918'),
# ('ipd', 'AN_IPD_PIC2', 'PIC2', 'RD1.L2', 'HWC_2018_1', '2018-03-13 19:13:07.613', '2018-03-13 19:30:26.299'),
# ('ipd', 'AN_IPD_PLI1.c2', 'PLI1.c2', 'RD1.L2', 'HWC_2017', '2017-04-21 15:29:16.672', '2017-04-21 15:37:08.150'),
# ('ipd', 'AN_IPD_PLI2.f2', 'PLI2.f2', 'RD1.L2', 'HWC_2014', '2015-02-14 07:50:31.801', '2015-02-14 08:08:01.351'),
# ('ipd', 'AN_IPD_PLI3.c5', 'PLI3.c5', 'RD1.L2', 'HWC_2017', '2017-04-21 16:12:20.835', '2017-04-21 16:27:48.341'),
# ('ipd', 'AN_IPD_PNO.a8', 'PNO.a8', 'RD1.L2', 'HWC_2018_2', '2018-12-03 13:36:52.811', '2018-12-03 13:59:04.050'),
# ('ipd', 'AN_IPD_PNO.c6', 'PNO.c6', 'RD1.L2', 'HWC_2017', '2017-04-22 13:43:21.522', '2017-04-22 14:57:58.918'),
]
IPQ_NOTEBOOKS = [
('ipq', 'AN_IPQ_PIC2', 'PIC2', 'RQ10.R2', 'HWC_2018_1', '2018-03-15 15:34:40.636', '2018-03-15 16:10:06.060'),
('ipq', 'AN_IPQ_PLI1.c3', 'PLI1.c3', 'RQ10.R1', 'HWC_2017', '2017-04-21 18:47:47.081', '2017-04-21 18:56:00.499'),
# ('ipq', 'AN_IPQ_PIC2', 'PIC2', 'RQ10.R2', 'HWC_2018_1', '2018-03-15 15:34:40.636', '2018-03-15 16:10:06.060'),
# ('ipq', 'AN_IPQ_PLI1.c3', 'PLI1.c3', 'RQ10.R1', 'HWC_2017', '2017-04-21 18:47:47.081', '2017-04-21 18:56:00.499'),
('ipq', 'AN_IPQ_PLI2.e3', 'PLI2.e3', 'RQ10.L2', 'HWC_2017', '2017-04-21 17:28:45.861', '2017-04-21 17:54:39.795'),
('ipq', 'AN_IPQ_PLI2.f3', 'PLI2.f3', 'RQ10.L5', 'HWC_2014', '2015-03-07 03:31:42.766', '2015-03-07 04:28:55.133'),
('ipq', 'AN_IPQ_PNO.a7', 'PNO.a7', 'RQ10.R4', 'HWC_2018_2', '2018-12-08 00:56:21.905', '2018-12-08 01:28:57.938'),
('ipq', 'AN_IPQ_PNO.c4', 'PNO.c4', 'RQ10.L2', 'HWC_2017', '2017-04-25 21:59:11.278', '2017-04-26 01:25:20.927'),
# ('ipq', 'AN_IPQ_PLI2.f3', 'PLI2.f3', 'RQ10.L5', 'HWC_2014', '2015-03-07 03:31:42.766', '2015-03-07 04:28:55.133'),
# ('ipq', 'AN_IPQ_PNO.a7', 'PNO.a7', 'RQ10.R4', 'HWC_2018_2', '2018-12-08 00:56:21.905', '2018-12-08 01:28:57.938'),
# ('ipq', 'AN_IPQ_PNO.c4', 'PNO.c4', 'RQ10.L2', 'HWC_2017', '2017-04-25 21:59:11.278', '2017-04-26 01:25:20.927'),
]
IT_NOTEBOOKS = [
('it', 'AN_IT_PIC2', 'PIC2 CIRCUIT QUENCH VIA QPS', 'RQX.L1', 'HWC_2018_1', '2018-03-15 13:24:33.405',
'2018-03-15 13:54:19.354'),
('it', 'AN_IT_PLI3.f6', 'PLI3.f6', 'RQX.L1', 'HWC_2014', '2015-03-14 14:26:05.061', '2015-03-14 15:16:14.372'),
('it', 'AN_IT_PNO.a9', 'PNO.a9', 'RQX.L1', 'HWC_2018_2', '2018-12-03 15:40:44.271', '2018-12-03 17:21:20.222'),
('it', 'AN_IT_PNO.d14', 'PNO.d14', 'RQX.L1', 'HWC_2017', '2017-04-11 20:38:19.627', '2017-04-11 22:24:50.702'),
('it', 'AN_IT_PNO.d15', 'PNO.d15', 'RQX.L1', 'HWC_2014', '2015-03-15 19:31:01.768', '2015-03-15 19:59:56.517'),
('it', 'AN_IT_PNO.d16', 'PNO.d16', 'RQX.L1', 'HWC_2014', '2015-03-19 18:08:25.199', '2015-03-19 20:05:12.559'),
('it', 'AN_IT_PNO.d17', 'PNO.d17', 'RQX.L1', 'HWC_2014', '2015-03-20 00:12:21.206', '2015-03-20 01:24:40.286'),
# ('it', 'AN_IT_PIC2', 'PIC2 CIRCUIT QUENCH VIA QPS', 'RQX.L1', 'HWC_2018_1', '2018-03-15 13:24:33.405',
# '2018-03-15 13:54:19.354'),
# ('it', 'AN_IT_PLI3.f6', 'PLI3.f6', 'RQX.L1', 'HWC_2014', '2015-03-14 14:26:05.061', '2015-03-14 15:16:14.372'),
# ('it', 'AN_IT_PNO.a9', 'PNO.a9', 'RQX.L1', 'HWC_2018_2', '2018-12-03 15:40:44.271', '2018-12-03 17:21:20.222'),
# ('it', 'AN_IT_PNO.d14', 'PNO.d14', 'RQX.L1', 'HWC_2017', '2017-04-11 20:38:19.627', '2017-04-11 22:24:50.702'),
# ('it', 'AN_IT_PNO.d15', 'PNO.d15', 'RQX.L1', 'HWC_2014', '2015-03-15 19:31:01.768', '2015-03-15 19:59:56.517'),
# ('it', 'AN_IT_PNO.d16', 'PNO.d16', 'RQX.L1', 'HWC_2014', '2015-03-19 18:08:25.199', '2015-03-19 20:05:12.559'),
# ('it', 'AN_IT_PNO.d17', 'PNO.d17', 'RQX.L1', 'HWC_2014', '2015-03-20 00:12:21.206', '2015-03-20 01:24:40.286'),
]
NQPS_NOTEBOOKS = [
('nqps', 'nQPS_Viewer', 'PNO.b3', 'RQD.A78', 'Recommissioning post LS2', '2021-02-26 15:37:38.637000000',
'2021-02-26 16:17:14.659000000'),
# ('nqps', 'nQPS_Viewer', 'PNO.b3', 'RQD.A78', 'Recommissioning post LS2', '2021-02-26 15:37:38.637000000',
# '2021-02-26 16:17:14.659000000'),
]
PGC_NOTEBOOKS = [
('pgc', 'AN_PGC1', 'PGC.1', 'RB.A12', 'Recommissioning post LS2', '2021-06-07 16:55:11.672000000',
'2021-06-07 16:55:11.684000000'),
('pgc', 'AN_PGC2', 'PGC.2', 'RB.A56', 'Recommissioning post LS2', '2021-07-22 07:24:58.230000000',
'2021-07-22 07:24:58.244000000'),
('pgc', 'AN_PGC3', 'PGC.3', 'RB.A34', 'Recommissioning post LS2', '2021-05-29 21:33:00.736000000',
'2021-05-29 21:33:00.748000000'),
('pgc', 'AN_PGC4', 'PGC.4', 'RB.A45', 'Recommissioning post LS2', '2021-06-18 22:11:01.925000000',
'2021-06-18 22:11:01.936000000'),
# ('pgc', 'AN_PGC1', 'PGC.1', 'RB.A12', 'Recommissioning post LS2', '2021-06-07 16:55:11.672000000',
# '2021-06-07 16:55:11.684000000'),
# ('pgc', 'AN_PGC2', 'PGC.2', 'RB.A56', 'Recommissioning post LS2', '2021-07-22 07:24:58.230000000',
# '2021-07-22 07:24:58.244000000'),
# ('pgc', 'AN_PGC3', 'PGC.3', 'RB.A34', 'Recommissioning post LS2', '2021-05-29 21:33:00.736000000',
# '2021-05-29 21:33:00.748000000'),
# ('pgc', 'AN_PGC4', 'PGC.4', 'RB.A45', 'Recommissioning post LS2', '2021-06-18 22:11:01.925000000',
# '2021-06-18 22:11:01.936000000'),
]
RB_NOTEBOOKS = [
('rb', 'AN_RB_PIC2', 'PIC2 FAST ABORT REQ VIA PIC', 'RB.A12', 'Before LS2', '2018-12-06 17:03:17.072000000',
'2018-12-06 17:21:45.530000000'),
('rb', 'AN_RB_PLI1.a2', 'PLI1.a2', 'RB.A12', 'HWC_2017', '2017-04-21 15:42:31.569', '2017-04-21 16:01:35.843'),
# ('rb', 'AN_RB_PIC2', 'PIC2 FAST ABORT REQ VIA PIC', 'RB.A12', 'Before LS2', '2018-12-06 17:03:17.072000000',
# '2018-12-06 17:21:45.530000000'),
# ('rb', 'AN_RB_PLI1.a2', 'PLI1.a2', 'RB.A12', 'HWC_2017', '2017-04-21 15:42:31.569', '2017-04-21 16:01:35.843'),
('rb', 'AN_RB_PLI1.b2', 'PLI1.b2', 'RB.A12', 'HWC_2018_1', '2018-03-16 18:55:57.270', '2018-03-16 19:07:00.286'),
('rb', 'AN_RB_PLI1.d2', 'PLI1.d2', 'RB.A12', 'HWC_2018_1', '2017-04-21 17:10:50.001', '2017-04-21 17:24:09.828'),
('rb', 'AN_RB_PLI2.b2', 'PLI2.b2', 'RB.A12', 'HWC_2018_1', '2018-03-16 21:22:00.406', '2018-03-16 21:36:11.440'),
# ('rb', 'AN_RB_PLI1.d2', 'PLI1.d2', 'RB.A12', 'HWC_2018_1', '2017-04-21 17:10:50.001', '2017-04-21 17:24:09.828'),
# ('rb', 'AN_RB_PLI2.b2', 'PLI2.b2', 'RB.A12', 'HWC_2018_1', '2018-03-16 21:22:00.406', '2018-03-16 21:36:11.440'),
('rb', 'AN_RB_PLI2.f1', 'PLI2.f1', 'RB.A23', 'Recommissioning post LS2', '2021-05-04 16:21:48.535000000',
'2021-05-04 16:38:52.126000000'),
('rb', 'AN_RB_PLI2.s1', 'PLI2.s1', 'RB.A12', 'HWC_2014', '2014-12-11 16:49:47.759', '2014-12-11 19:02:01.401'),
('rb', 'AN_RB_PLI3.a5', 'PLI3.a5', 'RB.A12', 'HWC_2017', '2017-04-22 08:57:30.399', '2017-04-22 11:32:09.824'),
('rb', 'AN_RB_PLI3.d2', 'PLI3.d2', 'RB.A34', 'Recommissioning post LS2', '2021-03-24 22:19:06.563000000',
'2021-03-24 22:44:23.159000000'),
# ('rb', 'AN_RB_PLI2.s1', 'PLI2.s1', 'RB.A12', 'HWC_2014', '2014-12-11 16:49:47.759', '2014-12-11 19:02:01.401'),
# ('rb', 'AN_RB_PLI3.a5', 'PLI3.a5', 'RB.A12', 'HWC_2017', '2017-04-22 08:57:30.399', '2017-04-22 11:32:09.824'),
# ('rb', 'AN_RB_PLI3.d2', 'PLI3.d2', 'RB.A34', 'Recommissioning post LS2', '2021-03-24 22:19:06.563000000',
# '2021-03-24 22:44:23.159000000'),
('rb', 'AN_RB_PLIM.b2', 'PLIM.b2', 'RB.A12', 'HWC_2018_1', '2017-04-22 04:34:15.401', '2017-04-22 04:56:43.323'),
('rb', 'AN_RB_PLIS.s2', 'PLIS.s2', 'RB.A12', 'HWC_2014', '2014-12-12 19:04:12.478', '2014-12-12 22:03:18.179'),
('rb', 'AN_RB_PNO.a6', 'PNO.a6', 'RB.A12', 'HWC_2014', '2014-12-12 19:04:12.478', '2014-12-12 22:03:18.179'),
# ('rb', 'AN_RB_PLIS.s2', 'PLIS.s2', 'RB.A12', 'HWC_2014', '2014-12-12 19:04:12.478', '2014-12-12 22:03:18.179'),
# ('rb', 'AN_RB_PNO.a6', 'PNO.a6', 'RB.A12', 'HWC_2014', '2014-12-12 19:04:12.478', '2014-12-12 22:03:18.179'),
('rb', 'AN_RB_PNO.b2', 'PNO.b2', 'RB.A12', 'HWC_2018_1', '2018-03-17 11:34:53.954', '2018-03-17 16:06:41.537'),
]
RQ_NOTEBOOKS = [
('rq', 'AN_RQ_PIC2', 'PIC2', 'RQD.A12', 'HWC_2018_1', '2018-03-15 18:25:18.239', '2018-03-15 18:57:07.328'),
('rq', 'AN_RQ_PLI1.b3', 'PLI1.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-16 14:34:54.267', '2018-03-16 14:54:23.962'),
('rq', 'AN_RQ_PLI1.d2', 'PLI1.d2', 'RQD.A12', 'HWC_2017', '2017-04-21 21:03:00.571', '2017-04-21 21:35:37.751'),
('rq', 'AN_RQ_PLI2.b3', 'PLI2.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-16 19:07:18.112', '2018-03-16 19:20:37.797'),
('rq', 'AN_RQ_PLI2.f1', 'PLI2.f1', 'RQD.A45', 'Recommissioning post LS2', '2021-04-07 20:44:14.437000000',
'2021-04-07 20:55:41.364000000'),
('rq', 'AN_RQ_PLI2.s1', 'PLI2.s1', 'RQD.A12', 'HWC_2014', '2015-01-17 07:15:15.265', '2015-01-17 09:38:36.393'),
('rq', 'AN_RQ_PLI3.a5', 'PLI3.a5', 'RQD.A12', 'HWC_2017', '2017-04-24 07:05:31.332', '2017-04-24 09:52:28.401'),
('rq', 'AN_RQ_PLI3.b3', 'PLI3.b3', 'RQD.A12', 'HWC_2017', '2017-04-24 19:29:45.679', '2017-04-24 19:51:14.809'),
('rq', 'AN_RQ_PLIM.b3', 'PLIM.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-17 16:06:43.979', '2018-03-17 17:20:00.234'),
('rq', 'AN_RQ_PLIS.s2', 'PLIS.s2', 'RQD.A12', 'HWC_2014', '2015-01-19 13:07:38.011', '2015-01-19 16:12:25.285'),
('rq', 'AN_RQ_PNO.a6', 'PNO.a6', 'RQD.A12', 'HWC_2017', '2017-04-26 21:32:51.083', '2017-04-27 01:54:29.036'),
# ('rq', 'AN_RQ_PIC2', 'PIC2', 'RQD.A12', 'HWC_2018_1', '2018-03-15 18:25:18.239', '2018-03-15 18:57:07.328'),
# ('rq', 'AN_RQ_PLI1.b3', 'PLI1.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-16 14:34:54.267', '2018-03-16 14:54:23.962'),
# ('rq', 'AN_RQ_PLI1.d2', 'PLI1.d2', 'RQD.A12', 'HWC_2017', '2017-04-21 21:03:00.571', '2017-04-21 21:35:37.751'),
# ('rq', 'AN_RQ_PLI2.b3', 'PLI2.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-16 19:07:18.112', '2018-03-16 19:20:37.797'),
# ('rq', 'AN_RQ_PLI2.f1', 'PLI2.f1', 'RQD.A45', 'Recommissioning post LS2', '2021-04-07 20:44:14.437000000',
# '2021-04-07 20:55:41.364000000'),
# ('rq', 'AN_RQ_PLI2.s1', 'PLI2.s1', 'RQD.A12', 'HWC_2014', '2015-01-17 07:15:15.265', '2015-01-17 09:38:36.393'),
# ('rq', 'AN_RQ_PLI3.a5', 'PLI3.a5', 'RQD.A12', 'HWC_2017', '2017-04-24 07:05:31.332', '2017-04-24 09:52:28.401'),
# ('rq', 'AN_RQ_PLI3.b3', 'PLI3.b3', 'RQD.A12', 'HWC_2017', '2017-04-24 19:29:45.679', '2017-04-24 19:51:14.809'),
# ('rq', 'AN_RQ_PLIM.b3', 'PLIM.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-17 16:06:43.979', '2018-03-17 17:20:00.234'),
# ('rq', 'AN_RQ_PLIS.s2', 'PLIS.s2', 'RQD.A12', 'HWC_2014', '2015-01-19 13:07:38.011', '2015-01-19 16:12:25.285'),
# ('rq', 'AN_RQ_PNO.a6', 'PNO.a6', 'RQD.A12', 'HWC_2017', '2017-04-26 21:32:51.083', '2017-04-27 01:54:29.036'),
('rq', 'AN_RQ_PNO.b3', 'PNO.b3', 'RQD.A12', 'HWC_2018_1', '2018-03-18 07:17:37.130', '2018-03-18 12:13:29.766'),
]
......@@ -93,41 +93,41 @@ HWC_NOTEBOOKS = [nb for notebooks in [RQ_NOTEBOOKS, RB_NOTEBOOKS, NQPS_NOTEBOOKS
FGC_SEARCH_NOTEBOOKS = [
('600A', 'AN_600A_with_without_EE_FPA', 'RQS.R8B2', 1619628657780000000),
('60A', 'AN_60A_FPA', 'RCBH11.L8B1', 1611775844600000000),
('80-120A', 'AN_80-120A_FPA', 'RCBCH5.L5B2', 1611679450120000000),
('ipd', 'AN_IPD_FPA', 'RD1.L2', 1612443650160000000),
('ipq', 'AN_IPQ_FPA', 'RQ10.L4', 1614319551500000000),
# ('60A', 'AN_60A_FPA', 'RCBH11.L8B1', 1611775844600000000),
# ('80-120A', 'AN_80-120A_FPA', 'RCBCH5.L5B2', 1611679450120000000),
# ('ipd', 'AN_IPD_FPA', 'RD1.L2', 1612443650160000000),
# ('ipq', 'AN_IPQ_FPA', 'RQ10.L4', 1614319551500000000),
('it', 'AN_IT_FPA', 'RQX.L5', 1611929411340000000),
('rb', 'AN_RB_FPA', 'RB.A12', 1622876168900000000),
('rb', 'AN_RB_FPA_SNAP', 'RB.A12', 1620970127420000000)
# ('rb', 'AN_RB_FPA_SNAP', 'RB.A12', 1620970127420000000)
]
FGC_2_SEARCH_NOTEBOOKS = [
('600A', 'AN_600A_RCBXHV_FPA', '600A', ['RCBXH2.L5', 'RCBXV2.L5'], [np.nan, 1611818500800000000]),
('600A', 'AN_600A_RCDO_FPA', '600A', ['RCD.A45B2', 'RCO.A45B2'], [np.nan, 1611845723720000000]),
('rq', 'AN_RQ_FPA', 'RQ', ['RQD.A34', 'RQF.A34'], [1614963751300000000, 1614963751300000000]),
# ('600A', 'AN_600A_RCBXHV_FPA', '600A', ['RCBXH2.L5', 'RCBXV2.L5'], [np.nan, 1611818500800000000]),
# ('600A', 'AN_600A_RCDO_FPA', '600A', ['RCD.A45B2', 'RCO.A45B2'], [np.nan, 1611845723720000000]),
# ('rq', 'AN_RQ_FPA', 'RQ', ['RQD.A34', 'RQF.A34'], [1614963751300000000, 1614963751300000000]),
]
QH_SEARCH_NOTEBOOKS = [
('qh', 'HWC_IPD_QHDA', 'RD1.L2', 900, ['RD1.L2'] * 9, [
1614851991089000000, 1614852379221000000, 1614852778066000000, 1614853176628000000, 1614853575435000000,
1616508662925000000, 1616667341434000000, 1617212038094000000, 1618033480508000000]),
('qh', 'HWC_IPQ_QHDA', 'RQ10.L1', 900, ['RQ10.L1'] * 10, [
1614063667581000000, 1614063667582000000, 1619603677667000000, 1619603677668000000, 1619615456267000000,
1619615456268000000, 1620901984917000000, 1620901984918000000, 1620995945168000000, 1620995945169000000]),
('qh', 'HWC_IT_QHDA', 'RQX.L1', 900, ['RQX.L1'] * 27, [
1619519182800000000, 1620326432763000000, 1619712847029000000, 1619712310417000000, 1619614205229000000,
1619600006627000000, 1619599789560000000, 1619599655420000000, 1619599480806000000, 1619599332788000000,
1619599202182000000, 1619599047644000000, 1620485322186000000, 1619598905583000000, 1619528702408000000,
1619528371944000000, 1619528212934000000, 1619527598784000000, 1619527460000000000, 1619527326997000000,
1619527152002000000, 1619527000329000000, 1619526825369000000, 1619526096954000000, 1619525414732000000,
1619598777189000000, 1620748776398000000]),
('qh', 'HWC_RB_QHDA', 'RB.A23', 300, ['A27R2'], [1621422534456000000]),
('qh', 'HWC_RQ_QHDA', 'RQD.A23', 900, ['10L3', '12L3', '23R2', '25L3', '25R2', '27L3', '27R2', '29L3', '29R2',
'31L3', '31R2', '33L3', '33R2', '7L3', '9L3'], [
1632398786670811356, 1632398788670634158, 1632398760569933094, 1632398762570571578, 1632398764570590310,
1632398766570571368, 1632398768570527940, 1632398770570533946, 1632398772570961548, 1632398774571064700,
1632398776571070160, 1632398778571298304, 1632398780570193326, 1632398782670874398, 1632398784670495684])
# ('qh', 'HWC_IPD_QHDA', 'RD1.L2', 900, ['RD1.L2'] * 9, [
# 1614851991089000000, 1614852379221000000, 1614852778066000000, 1614853176628000000, 1614853575435000000,
# 1616508662925000000, 1616667341434000000, 1617212038094000000, 1618033480508000000]),
# ('qh', 'HWC_IPQ_QHDA', 'RQ10.L1', 900, ['RQ10.L1'] * 10, [
# 1614063667581000000, 1614063667582000000, 1619603677667000000, 1619603677668000000, 1619615456267000000,
# 1619615456268000000, 1620901984917000000, 1620901984918000000, 1620995945168000000, 1620995945169000000]),
# ('qh', 'HWC_IT_QHDA', 'RQX.L1', 900, ['RQX.L1'] * 27, [
# 1619519182800000000, 1620326432763000000, 1619712847029000000, 1619712310417000000, 1619614205229000000,
# 1619600006627000000, 1619599789560000000, 1619599655420000000, 1619599480806000000, 1619599332788000000,
# 1619599202182000000, 1619599047644000000, 1620485322186000000, 1619598905583000000, 1619528702408000000,
# 1619528371944000000, 1619528212934000000, 1619527598784000000, 1619527460000000000, 1619527326997000000,
# 1619527152002000000, 1619527000329000000, 1619526825369000000, 1619526096954000000, 1619525414732000000,
# 1619598777189000000, 1620748776398000000]),
# ('qh', 'HWC_RB_QHDA', 'RB.A23', 300, ['A27R2'], [1621422534456000000]),
# ('qh', 'HWC_RQ_QHDA', 'RQD.A23', 900, ['10L3', '12L3', '23R2', '25L3', '25R2', '27L3', '27R2', '29L3', '29R2',
# '31L3', '31R2', '33L3', '33R2', '7L3', '9L3'], [
# 1632398786670811356, 1632398788670634158, 1632398760569933094, 1632398762570571578, 1632398764570590310,
# 1632398766570571368, 1632398768570527940, 1632398770570533946, 1632398772570961548, 1632398774571064700,
# 1632398776571070160, 1632398778571298304, 1632398780570193326, 1632398782670874398, 1632398784670495684])
]
QHD_PM_LIST = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment