From 1000a77db975c9e8eea51b153c4b955d3f2d956a Mon Sep 17 00:00:00 2001 From: Elisa-Visentin <121040436+Elisa-Visentin@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:36:52 +0200 Subject: [PATCH 1/3] Update README.md --- nsb_scripts/README.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/nsb_scripts/README.md b/nsb_scripts/README.md index 3ef2059a3..c1f72a1eb 100644 --- a/nsb_scripts/README.md +++ b/nsb_scripts/README.md @@ -2,19 +2,18 @@ Scripts to be used to analyse real data by matching them to the available MCs (a The lstchain 'lstchain_standard_config.json' is needed (in the same directory) to run them Based on an upgraded version of the pipeline (scripts, modules, environment), which is needed to run these scripts: see "Semi-automatic MCP and expansion towards 4 LSTs - Torino team update" PR. So, to be merged after this PR. -This is a temporary branch (to store these scripts): A new branchand a PR will be created from the master after the '4 LSTs' PR had been merged. +This is a temporary branch (to store these scripts): A new branch and a PR will be created from the master after the '4 LSTs' PR merge. -nsb.sh to be launched (bash script) at the beginning of the analysis, to classify LST runs according to NSB level. Then, standard semi-automatic analysis (see README in the 4 LSTs PR) on real data +nsb_level.py to be launched (bash script) at the beginning of the analysis, to classify LST runs according to NSB level. Then, standard semi-automatic analysis (see README in the 4-LSTs PR) on real data # TODO: -1. Fix an issue with the lists of LST-MAGIC runs (in case of only one run in the .txt files, lists must be properly read): now 'rough' solution, a better solution is needed -2. Directory structure (more consistent with the MC one) -3. Matching of the observation period -4. RF/IRF paths (config?) -5. LSTnsb.py: check if string (run/night) already in the file before writing it (no duplicates) -6. Adding new data (runs) to a source folder/analysis -7. Multi-source -8. Database (joint observations) -9. Fix pyflakes errors and run black -10. Final checks (CI...) + +1. Directory structure (more consistent with the MC one) +2. Matching of the observation period +3. RF/IRF paths (config?) +4. Database (joint observations) +5. Fix pyflakes errors and run black +6. Fix comments... +7. remove print and dependencies +8. Final checks (CI...) From d526af6c52375d7e6c5008f55741fc091ee51f1a Mon Sep 17 00:00:00 2001 From: Elisa-Visentin <121040436+Elisa-Visentin@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:48:50 +0200 Subject: [PATCH 2/3] Update README.md --- nsb_scripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsb_scripts/README.md b/nsb_scripts/README.md index c1f72a1eb..43ff48369 100644 --- a/nsb_scripts/README.md +++ b/nsb_scripts/README.md @@ -4,7 +4,7 @@ Based on an upgraded version of the pipeline (scripts, modules, environment), wh This is a temporary branch (to store these scripts): A new branch and a PR will be created from the master after the '4 LSTs' PR merge. -nsb_level.py to be launched (bash script) at the beginning of the analysis, to classify LST runs according to NSB level. Then, standard semi-automatic analysis (see README in the 4-LSTs PR) on real data +nsb_level.py to be launched (bash script) at the beginning of the analysis, to classify LST runs according to NSB level. Then, collect_nsb.py to create the 'NSB-wise' LST lists. Then, standard semi-automatic analysis (see README in the 4-LSTs PR) on real data # TODO: From fe0a6f8d56c8d7241cf003813a76aef4f6ac451a Mon Sep 17 00:00:00 2001 From: Elisa-Visentin <121040436+Elisa-Visentin@users.noreply.github.com> Date: Thu, 14 Sep 2023 16:15:29 +0200 Subject: [PATCH 3/3] Update nsb_setting_up_config_and_dir.py Fixed ST0319 dates --- nsb_scripts/nsb_setting_up_config_and_dir.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nsb_scripts/nsb_setting_up_config_and_dir.py b/nsb_scripts/nsb_setting_up_config_and_dir.py index 4cb6ab6f2..a67d3bd47 100644 --- a/nsb_scripts/nsb_setting_up_config_and_dir.py +++ b/nsb_scripts/nsb_setting_up_config_and_dir.py @@ -41,11 +41,11 @@ ST0318_b='2022_06_10' ST0318_e='2022_08_31' ST0319_b='2022_12_15' -ST0319_e='2023_03_01' #???? -ST0320_b='2023_03_02' #??????? +ST0319_e='2023_03_09' +ST0320_b='2023_03_10' ST_list=['ST0320','ST0319','ST0318','ST0317', 'ST0316'] -ST_begin=['2023_03_02','2022_12_15','2022_06_10','2021_12_30','2020_10_24'] -ST_end=['2024_01_01','2023_03_01','2022_08_31','2022_06_09','2021_09_29'] #ST0320 ongoing -> 'service' end date +ST_begin=['2023_03_10','2022_12_15','2022_06_10','2021_12_30','2020_10_24'] +ST_end=['2024_01_01','2023_03_09','2022_08_31','2022_06_09','2021_09_29'] #ST0320 ongoing -> 'service' end date