Skip to content

Processing of data with PE calibration applied by EVB  #1249

Open
@marialainez

Description

All runs from the day 2024/04/26 fail in the r0_to_dl1 step with the error:

Overwriting /fefs/aswg/data/real/running_analysis/20240426/v0.10/interleaved/interleaved_LST-1.Run17203.0015.h5
WARNING: IERSStaleWarning: leap-second file is expired. [astropy.utils.iers.iers]
IERSStaleWarning: leap-second file is expired.
Traceback (most recent call last):
  File "/fefs/aswg/software/conda/envs/osa-v0.10/bin/lstchain_data_r0_to_dl1", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/lstchain/scripts/lstchain_data_r0_to_dl1.py", line 230, in main
    r0_to_dl1.r0_to_dl1(
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/lstchain/reco/r0_to_dl1.py", line 572, in r0_to_dl1
    r1_dl1_calibrator(event)
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/ctapipe/calib/camera/calibrator.py", line 286, in __call__
    self._calibrate_dl0(event, tel_id)
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/ctapipe/calib/camera/calibrator.py", line 191, in _calibrate_dl0
    waveforms_copy[~reduced_waveforms_mask] = 0
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: boolean index did not match indexed array along dimension 0; dimension is 2 but corresponding boolean dimension is 1855
Closing remaining open files:/fefs/aswg/data/real/running_analysis/20240426/v0.10/interleaved/interleaved_LST-1.Run17203.0015.h5...done

Here is the command that is launched:

lstchain_data_r0_to_dl1 --input-file=/fefs/aswg/data/real/R0/20240426/LST-1.1.Run17203.0015.fits.fz --output-dir=/fefs/aswg/data/real/running_analysis/20240426/v0.10 --pedestal-file=/fefs/aswg/data/real/monitoring/PixelCalibration/Cat-A/drs4_baseline/20240317/v0.10.8/drs4_pedestal.Run17194.0000.h5 --calibration-file=/fefs/aswg/data/real/monitoring/PixelCalibration/Cat-A/calibration/20240317/v0.10.8/calibration_filters_52.Run17195.0000.h5 --time-calibration-file=/fefs/aswg/data/real/monitoring/PixelCalibration/Cat-A/drs4_time_sampling_from_FF/20231102/v0.10.4/time_calibration.Run15253.0000.h5 --systematic-correction-file=/fefs/aswg/data/real/monitoring/PixelCalibration/Cat-A/ffactor_systematics/20230410/v0.10.3/calibration_scan_fit_20230410.0000.h5 --config=/fefs/aswg/lstosa/config_files_lstchain/lstchain_standard_v0.10_no_heuristic_ff.json --pointing-file=/fefs/onsite/monitoring/driveLST1/DrivePositioning/DrivePosition_log_20240426.txt --run-summary-path=/fefs/aswg/data/real/monitoring/RunSummary/RunSummary_20240426.ecsv

Also, the calibration runs for this day failed, so I was trying to process them using the DRS4 and PEDCALIB runs from another day.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions