You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are getting an error in the r0_to_dl1 step for various subruns of 20240626 (e.g. 17851.0075) with which we do not know how to proceed. This is the error traceback that we are getting:
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
non-ASCII characters are present in the FITS file header and have been replaced by "?" characters
WARNING: VerifyWarning: Error validating header for HDU #4 (note: Astropy uses zero-based indexing).
Header size is not multiple of 2880: 880335602
There may be extra bytes after the last HDU or the file is corrupted. [astropy.io.fits.hdu.hdulist]
VerifyWarning: Error validating header for HDU #4 (note: Astropy uses zero-based indexing).
Header size is not multiple of 2880: 880335602
There may be extra bytes after the last HDU or the file is corrupted.
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 352, in r0_to_dl1
source = EventSource(input_url=input_filename,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/ctapipe_io_lst/__init__.py", line 304, in __init__
self.multi_file = MultiFiles(
^^^^^^^^^^^
File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/ctapipe_io_lst/multifiles.py", line 123, in __init__
self._load_next_subrun(stream)
File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/ctapipe_io_lst/multifiles.py", line 184, in _load_next_subrun
event = next(self._events_tables[stream])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/protozfits/__init__.py", line 153, in __next__
raise StopIteration
StopIteration
And here is an example of the command that is launched:
MMmh. Then I think the only reason can be that the original data only contained invalid (event_id == 0, empty events) that are not written out by the gain selector tool.
I think the gain selector tool fails in such a case, or it at least should fail in such a case and OSA should probably check that when running it.
We are getting an error in the r0_to_dl1 step for various subruns of 20240626 (e.g. 17851.0075) with which we do not know how to proceed. This is the error traceback that we are getting:
And here is an example of the command that is launched:
NOTE: input files are already gain selected
Software settings:
@moralejo @maxnoe
The text was updated successfully, but these errors were encountered: