lst_auto_rta.plot_line_delay.parse_run_dl1_events

lst_auto_rta.plot_line_delay.parse_run_dl1_events(dl1_dir_path, run_id, worker_nodes, nb_process, nb_retries, re_try_wait_time)[source]

Parse an observation DL1 files to load event ids and timestamps in a dataframe

Paramters

dl1_dir_pathpathlib.Path

Path to the folder containing the night’s DL1 files. (all runs are in the same folder)

run_idint

Run id of the run to analyse

worker_nodeslist of str

List of the worker nodes names of the R0->DL1 jobs of this run

nb_processint

Number of processs to use to parse the runs files.

nb_retriesint

Number of times to re-try reading a DL1 file.

re_try_wait_timefloat

Amount of time, in seconds, to wait before re-trying to open a file.

rtype:

List of pandas dataframe with the events id and timestamps data per subrun.