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
The /simulation/service/shower_distribution histograms are written if you read a simtel file with the SimTelEventSource, but further processing of the HDF5 file by the HDF5EventSource drops this information. This is not critical, as one can use the configuration/simulation/run to compute the spectrum of simulated events, however that may be insufficient in the future if more complex spectra are used.
To Reproduce
Steps to reproduce the behavior:
process an existing ctapipe output file with ctapipe-process to a higher level
Expected behavior
Simulated shower distributions end up in output files.
Supporting information
This is not a problem for the HDF5Merger, which does propagate this information, so merging and applying models works fine. it is only an issue if DL1 files are further processed into DL2 by ctapipe-process.
We need a unit test that does:
simulated-R0 → DL1 → file
file → DL2
checks the data model against the output (note this last step probably is more general: we need a ctapipe-verify command )
The text was updated successfully, but these errors were encountered:
Confirmed. We have no general API on the EventSource and the DataWriter explicitly checks for SimTelEventSource. So no other event source can even try to provide the histograms.
Reading the comments in the DataWriter method, this is a known issue... but we have no corresponding issue here.
Will fix, this is definitely a bug and directly impacts our processing of prod5/prod6 on the GRID, since we recently switched to a setup where we first run ctapipe-process to extract only images for all telescopes and then again ctapipe-process to perform parametrization and stereo-reco for a selected subarray. So we loose the histograms here in the second step.
Describe the bug
The
/simulation/service/shower_distribution
histograms are written if you read a simtel file with theSimTelEventSource
, but further processing of the HDF5 file by theHDF5EventSource
drops this information. This is not critical, as one can use theconfiguration/simulation/run
to compute the spectrum of simulated events, however that may be insufficient in the future if more complex spectra are used.To Reproduce
Steps to reproduce the behavior:
ctapipe-process
to a higher levelExpected behavior
Simulated shower distributions end up in output files.
Supporting information
This is not a problem for the
HDF5Merger
, which does propagate this information, so merging and applying models works fine. it is only an issue if DL1 files are further processed into DL2 byctapipe-process
.We need a unit test that does:
ctapipe-verify
command )The text was updated successfully, but these errors were encountered: