lstosa 0.11.2__tar.gz → 0.11.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lstosa-0.11.2 → lstosa-0.11.4}/PKG-INFO +1 -1
- lstosa-0.11.4/crontab/crontab.txt +83 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/PKG-INFO +1 -1
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/SOURCES.txt +1 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/_version.py +16 -3
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/configs/sequencer.cfg +1 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/job.py +5 -2
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/paths.py +3 -2
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/gain_selection.py +2 -2
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/sequencer.py +3 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/.coveragerc +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/.gitignore +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/.mailmap +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/.pre-commit-config.yaml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/.readthedocs.yml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/LICENSE +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/MANIFEST.in +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/README.md +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/codemeta.json +0 -0
- /lstosa-0.11.2/crontab/crontab.txt → /lstosa-0.11.4/crontab/crontab-orig.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/dev/mysql.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/Makefile +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/_static/logo_lstosa.png +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/authors.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/components/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/conf.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/configuration.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/contribute.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/documents/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/howto/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/introduction/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/introduction/reduction_steps_lstchain.png +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/jobs.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/make.bat +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/nightsummary.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/provenance.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/references.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/reports.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/scripts/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/troubleshooting/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/utils.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/veto.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/workflow/LSTOSA_flow.png +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/docs/workflow/index.rst +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/environment-lstcam.yml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/environment.yml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/example_sequencer.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/history_files/sequence_LST1_04183.history +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/history_files/sequence_LST1_04183_failed.history +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/history_files/sequence_LST1_04183_oneline.history +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/history_files/sequence_LST1_04185.0001.history +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/history_files/sequence_LST1_04185.0010.history +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/sacct_output.csv +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/extra/squeue_output.csv +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/pyproject.toml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/setup.cfg +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/dependency_links.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/entry_points.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/requires.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/lstosa.egg-info/top_level.txt +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/configs/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/configs/config.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/configs/datamodel.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/configs/options.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/conftest.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/high_level/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/high_level/selection_cuts.toml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/high_level/significance.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/high_level/tests/test_significance.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/database.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/extract.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/nightsummary.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/set_source_coordinates.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/tests/test_database.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/tests/test_extract.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/tests/test_nightsummary.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/nightsummary/tests/test_source_coordinates.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/osadb.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/capture.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/config/definition.yaml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/config/environment.yaml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/config/logger.yaml +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/io.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/provenance/utils.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/raw.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/report.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/autocloser.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/calibration_pipeline.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/closer.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/copy_datacheck.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/datasequence.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/gainsel_webmaker.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/provprocess.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/reprocess_longterm.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/reprocessing.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/sequencer_catB_tailcuts.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/sequencer_webmaker.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/show_run_summary.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/simulate_processing.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/tests/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/tests/test_osa_scripts.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/scripts/update_source_catalog.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_jobs.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_osa.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_osadb.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_paths.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_raw.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_report.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/tests/test_veto.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/cliopts.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/iofile.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/logging.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/mail.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/register.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/tests/test_iofile.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/tests/test_utils.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/utils/utils.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/version.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/veto.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/webserver/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/webserver/utils.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/workflow/__init__.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/workflow/dl3.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/workflow/stages.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/workflow/tests/test_dl3.py +0 -0
- {lstosa-0.11.2 → lstosa-0.11.4}/src/osa/workflow/tests/test_stages.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lstosa
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.4
|
|
4
4
|
Summary: Onsite analysis pipeline for the CTA LST-1
|
|
5
5
|
Author: María Láinez, José Enrique Ruiz, Lab Saha, Andrés Baquero, José Luis Contreras, Maximilian Linhoff
|
|
6
6
|
Author-email: Daniel Morcuende <dmorcuen@ucm.es>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
SHELL=/usr/bin/bash
|
|
2
|
+
BASH_ENV="/local/home/lstanalyzer/.bashrc"
|
|
3
|
+
CRON_TZ=UTC
|
|
4
|
+
# Update astropy auxiliary data (e.g. IERS) every week
|
|
5
|
+
0 0 * * SUN source /fefs/aswg/lstosa/utils/osa-conda; python /fefs/aswg/data/aux/astropy/get_iers_data.py > /dev/null 2>&1
|
|
6
|
+
#
|
|
7
|
+
# lstosa jobs
|
|
8
|
+
#
|
|
9
|
+
# [COPY OBS OVERVIEW] Copy observations overview and daily camera checks to lst1 datacheck webserver
|
|
10
|
+
#
|
|
11
|
+
00 09 * * * /usr/bin/bash /fefs/aswg/lstosa/misc/copy_camera_daily_check_to_www.sh >/dev/null 2>&1
|
|
12
|
+
#
|
|
13
|
+
# [RUN SUMMARY] Produce the run summary file at the end of the observations to make sure it contains all the runs taken
|
|
14
|
+
#
|
|
15
|
+
50 06 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; lstchain_create_run_summary -d $obsdate -o /fefs/onsite/data/lst-pipe/LSTN-01/monitoring/RunSummary --r0-path=/fefs/onsite/data/R0/LSTN-01/lst-arraydaq/events --overwrite > /dev/null 2>&1
|
|
16
|
+
#
|
|
17
|
+
# [MERGED RUN SUMMARY] Produce the merged run summary file containing all the runs taken by the LST.
|
|
18
|
+
# This only appends the runs of the given date.
|
|
19
|
+
#
|
|
20
|
+
55 06 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; source /fefs/aswg/lstosa/utils/osa-conda; lstchain_merge_run_summaries -d $obsdate /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Catalog/merged_RunSummary.ecsv --monitoring-path=/fefs/onsite/data/lst-pipe/LSTN-01/monitoring > /dev/null 2>&1
|
|
21
|
+
#
|
|
22
|
+
# [GAIN SELECTION]
|
|
23
|
+
#
|
|
24
|
+
00 07-15 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; gain_selection --no-queue-check -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate -s 6 >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/GainSel_log/${obsdate}_LST1.log 2>&1
|
|
25
|
+
#
|
|
26
|
+
# [GAIN SELECTION CHECK]
|
|
27
|
+
#
|
|
28
|
+
20,50 08-16 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; gain_selection --check -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/GainSel_log/${obsdate}_check_LST1.log 2>&1
|
|
29
|
+
#
|
|
30
|
+
# [SIMULATED SEQUENCER] Launch sequencer once in the morning simulated. It also produces the run summary file if not found.
|
|
31
|
+
#
|
|
32
|
+
05 09 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -s -d $obsdate LST1 > /dev/null 2>&1
|
|
33
|
+
#
|
|
34
|
+
# [SEQUENCER 1] Run only up to DL1A
|
|
35
|
+
#
|
|
36
|
+
25,32 08-10 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg --no-dl1ab -d $obsdate LST1 >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Sequencer_log/${obsdate}_1_LST1.log 2>&1
|
|
37
|
+
#
|
|
38
|
+
# [SEQUENCER_CATB_TAILCUTS] Runs from DL1A, produces Cat-B calibration and tailcut files
|
|
39
|
+
#
|
|
40
|
+
00,30 08-18 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer_catB_tailcuts -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate LST1 >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Sequencer_log/${obsdate}_tailcuts_LST1.log 2>&1
|
|
41
|
+
#
|
|
42
|
+
# [SEQUENCER 2] Finishes the processing producing DL1AB and DL2
|
|
43
|
+
#
|
|
44
|
+
04,40 09-19 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate LST1 >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Sequencer_log/${obsdate}_2_LST1.log 2>&1
|
|
45
|
+
#
|
|
46
|
+
# [SEQUENCER WEB] Make sequencer xhtml table and copy it to the lst1 webserver
|
|
47
|
+
#
|
|
48
|
+
*/10 08-22 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer_webmaker -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg > /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Minor_logs/${obsdate}_sequencer-web.log 2>&1; if [ $? = 0 ]; then scp /fefs/onsite/data/lst-pipe/LSTN-01/OSA/SequencerWeb/osa_status_$obsdate.html datacheck:/home/www/html/datacheck/lstosa/sequencer.xhtml; fi > /dev/null 2>&1
|
|
49
|
+
#
|
|
50
|
+
# [GAIN SEL WEB SEQUENCER] Make gain selection xhtml table and copy it to the lst1 webserver
|
|
51
|
+
#
|
|
52
|
+
*/10 07-18 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; gainsel_webmaker -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg > /dev/null 2>&1; if [ $? = 0 ]; then scp /fefs/onsite/data/lst-pipe/LSTN-01/OSA/GainSelWeb/osa_gainsel_status_$obsdate.html datacheck:/home/www/html/datacheck/lstosa/gainsel.xhtml; fi > /dev/null 2>&1
|
|
53
|
+
#
|
|
54
|
+
# [AUTOCLOSER] Launch the closer without forcing it (no -f option).
|
|
55
|
+
#
|
|
56
|
+
25 10-23 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; autocloser -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate LST1 >> /fefs/onsite/data/lst-pipe/LSTN-01/OSA/Autocloser_log/${obsdate}_LST1.log 2>&1
|
|
57
|
+
#
|
|
58
|
+
# [COPY DATACHECK] Copy the available calibration and DL1 datacheck to the LST1 webserver.
|
|
59
|
+
#
|
|
60
|
+
05,20,40 08-23 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; copy_datacheck -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate LST1 > /dev/null 2>&1
|
|
61
|
+
#
|
|
62
|
+
# [SOURCE CATALOG]
|
|
63
|
+
#
|
|
64
|
+
00 11-23 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; update_source_catalog -c /fefs/aswg/lstosa/cfg/sequencer_v0.11.cfg -d $obsdate > /dev/null 2>&1
|
|
65
|
+
#
|
|
66
|
+
# [COPY CUMULATIVE LST-1 OBSERVATION TIME]
|
|
67
|
+
# (added by Daniel Morcuende on 2024-04-05)
|
|
68
|
+
#
|
|
69
|
+
0 18 * * FRI /usr/bin/bash /fefs/aswg/lstosa/misc/update_cumulative_obs_time.sh >/dev/null 2>&1
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
# Daniel Morcuende (2023-11-08) periodically remove leftover jobs kept in the SLURM as pending after job dependency not satisfied because of failure (Reason in squeue: 'DependencyNeverSatisfied').
|
|
73
|
+
# It does only look for lstosa jobs launched by sequencer with the prefix "LST1_" and also the merging jobs launched by autocloser like "longterm_dl1_datacheck".
|
|
74
|
+
*/30 * * * * /local/home/lstanalyzer/remove_dependency_never_satisfied_jobs.sh > /dev/null 2>&1
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
SHELL=/usr/bin/bash
|
|
78
|
+
BASH_ENV="/local/home/lstanalyzer/.bashrc"
|
|
79
|
+
CRON_TZ=UTC
|
|
80
|
+
#
|
|
81
|
+
# Restart camera processing of calibration runs in realtime in case it was killed for whatever reason
|
|
82
|
+
#
|
|
83
|
+
04 * * * * cd /local/home/lstanalyzer/camera/lst-camera-watchers;./lst1_watcher_restarter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lstosa
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.4
|
|
4
4
|
Summary: Onsite analysis pipeline for the CTA LST-1
|
|
5
5
|
Author: María Láinez, José Enrique Ruiz, Lab Saha, Andrés Baquero, José Luis Contreras, Maximilian Linhoff
|
|
6
6
|
Author-email: Daniel Morcuende <dmorcuen@ucm.es>
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
3
|
|
|
4
|
-
__all__ = [
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
5
12
|
|
|
6
13
|
TYPE_CHECKING = False
|
|
7
14
|
if TYPE_CHECKING:
|
|
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
|
|
|
9
16
|
from typing import Union
|
|
10
17
|
|
|
11
18
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
12
20
|
else:
|
|
13
21
|
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
14
23
|
|
|
15
24
|
version: str
|
|
16
25
|
__version__: str
|
|
17
26
|
__version_tuple__: VERSION_TUPLE
|
|
18
27
|
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
19
30
|
|
|
20
|
-
__version__ = version = '0.11.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 11,
|
|
31
|
+
__version__ = version = '0.11.4'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 11, 4)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = 'gd434a8783'
|
|
@@ -99,7 +99,10 @@ def are_all_jobs_correctly_finished(sequence_list):
|
|
|
99
99
|
flag = True
|
|
100
100
|
analysis_directory = Path(options.directory)
|
|
101
101
|
for sequence in sequence_list:
|
|
102
|
-
|
|
102
|
+
if sequence.type != "DATA":
|
|
103
|
+
continue
|
|
104
|
+
else:
|
|
105
|
+
history_files_list = analysis_directory.rglob(f"*{sequence.run}*.history")
|
|
103
106
|
|
|
104
107
|
if not options.test:
|
|
105
108
|
try:
|
|
@@ -719,7 +722,7 @@ def get_sacct_output(sacct_output: StringIO) -> pd.DataFrame:
|
|
|
719
722
|
|
|
720
723
|
# Keep only the jobs corresponding to OSA sequences
|
|
721
724
|
sacct_output = sacct_output[
|
|
722
|
-
(sacct_output["
|
|
725
|
+
(~sacct_output["JobID"].str.contains(r"\."))
|
|
723
726
|
| (sacct_output["JobName"].str.contains("LST1"))
|
|
724
727
|
]
|
|
725
728
|
|
|
@@ -433,11 +433,12 @@ def get_dl1_prod_id(config_filename):
|
|
|
433
433
|
|
|
434
434
|
picture_thresh = data["tailcuts_clean_with_pedestal_threshold"]["picture_thresh"]
|
|
435
435
|
boundary_thresh = data["tailcuts_clean_with_pedestal_threshold"]["boundary_thresh"]
|
|
436
|
+
dl1_prod_id_prefix = cfg.get("LST1", "DL1_PROD_ID_PREFIX")
|
|
436
437
|
|
|
437
438
|
if boundary_thresh == 4:
|
|
438
|
-
return f"
|
|
439
|
+
return f"{dl1_prod_id_prefix}{picture_thresh}{boundary_thresh}"
|
|
439
440
|
else:
|
|
440
|
-
return f"
|
|
441
|
+
return f"{dl1_prod_id_prefix}{picture_thresh}{boundary_thresh:02d}"
|
|
441
442
|
|
|
442
443
|
|
|
443
444
|
def get_dl2_nsb_prod_id(rf_model: Path) -> str:
|
|
@@ -224,10 +224,10 @@ def launch_gainsel_for_data_run(
|
|
|
224
224
|
else:
|
|
225
225
|
log.warning(f"Gain selection failed for run {run_id:05d}.{subrun:04d}")
|
|
226
226
|
elif gainsel_rc == "0":
|
|
227
|
-
log.debug(f"Gain selection finished successfully for run {run_id:05d}.{subrun:04d},"
|
|
227
|
+
log.debug(f"Gain selection finished successfully for run {run_id:05d}.{subrun:04d}, "
|
|
228
228
|
"no additional jobs will be submitted for this subrun.")
|
|
229
229
|
else:
|
|
230
|
-
log.debug("Creating and launching the gain selection sbatch script for subrun {run_id:05d}.{subrun:04d}")
|
|
230
|
+
log.debug(f"Creating and launching the gain selection sbatch script for subrun {run_id:05d}.{subrun:04d}")
|
|
231
231
|
if not simulate:
|
|
232
232
|
log_file = log_dir / f"r0_to_r0g_{run_id:05d}.{subrun:04d}.log"
|
|
233
233
|
job_file = log_dir / f"gain_selection_{run_id:05d}.{subrun:04d}.sh"
|
|
@@ -238,7 +238,10 @@ def get_status_for_sequence(sequence, data_level) -> int:
|
|
|
238
238
|
elif data_level == "DATACHECK":
|
|
239
239
|
try:
|
|
240
240
|
directory = options.directory / sequence.dl1_prod_id
|
|
241
|
+
alternative_directory = destination_dir(concept="DATACHECK", create_dir=False, dl1_prod_id=sequence.dl1_prod_id)
|
|
241
242
|
files = list(directory.glob(f"datacheck_dl1_LST-1*{sequence.run}*.h5"))
|
|
243
|
+
files += list(alternative_directory.glob(f"datacheck_dl1_LST-1*{sequence.run}*.h5"))
|
|
244
|
+
|
|
242
245
|
except AttributeError:
|
|
243
246
|
return 0
|
|
244
247
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|