Onsite Computation of Calibration Coefficients with Batch Jobs#

Onsite script to send the reconstruction of multiple calibration files to the onsite batch system.

usage: lstcam_calib_onsite__create_calibration_files_with_batc
       [-h] [-r RUN_LIST [RUN_LIST ...]] [-f {fits.gz,fits,h5}]
       [--filters-list FILTERS_LIST [FILTERS_LIST ...]] [-v PROD_VERSION]
       [-s STATISTICS] [-p PEDESTAL_RUN] [--time-run TIME_RUN] [-b BASE_DIR]
       [--r0-dir R0_DIR] [--sub-run-list SUB_RUN_LIST [SUB_RUN_LIST ...]]
       [--sys-date SYS_DATE] [--no-sys-correction]
       [--output-base-name OUTPUT_BASE_NAME] [-y] [--no-pro-symlink]
       [--config CONFIG] [--flatfield-heuristic] [--no-flatfield-heuristic]
       [--queue QUEUE]

required arguments#

-r, --run-list

Run numbers of the flat-field data

optional arguments#

-f, --output-format

Possible choices: fits.gz, fits, h5

output format

Default: 'fits.gz'

--filters-list

Filter list (same order as run list)

-v, --prod-version

Version of the production

Default: 'v0.2.1.dev63+gdaf635b'

-s, --statistics

Number of events for the flat-field and pedestal statistics

Default: 10000

-p, --pedestal-run

Pedestal run to be used. If None, it looks for the pedestal run of the date of the FF data.

--time-run

Run for the time calibration. If None, search the last time run before or equal the first filter scan run

-b, --base-dir

Root dir for the output directory tree

Default: /fefs/onsite/data/lst-pipe/LSTN-01

--r0-dir

Root dir for the input r0 tree. By default, <base_dir>/R0 will be used

--sub-run-list

sub-run list to be processed.

Default: [0]

--sys-date

Date of systematic corrections (format YYYYMMDD). Default: automatically search the best date

--no-sys-correction

Systematic corrections are not applied.

Default: False

--output-base-name

Output file base name (change only for debugging)

Default: 'calibration'

-y, --yes

Do not ask interactively for permissions, assume true

Default: False

--no-pro-symlink

Do not update the pro dir symbolic link, assume true

Default: False

--config

Config file

Default: /usr/local/lib/python3.11/site-packages/lstcam_calib/resources/catA_camera_calibration_param.yml

--flatfield-heuristic

If given, try to identify flatfield events from the raw data. Should be used only for data from before 2022

--no-flatfield-heuristic

If given, do not to identify flatfield events from the raw data. Should be used only for data from before 2022

--queue

Slurm queue. Default: short

Default: 'short'