Event reconstruction (DL1 parameters): Crashes #2322
-
Hi, Some events raise this error:
This seems to be a non-handled exception, but I don't know how I made it happen... Other events cause a more 'exotic' crash:
The script used to process them is the same and they belong to the same MC production. Only some of the events in a few simulation runs cause them. Both ctapipe 0.12 and 0.19 exhibit the same crashes. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The second error is most likely a broken simulation file (simtel array crashed and didn't finish writing the file), you should report that to whomever created that file, there is nothing really we can do about it. The second one is something else though. It seems you are computing timing parameters on an event where the hillas parameters are invalid (length or psi nan?). You need to skip those events. Note that You seem to re-implement This is not what should be done. If you for some reason can't use ctapipe-process, please open issues with the reasons why that is not possible so we can improve. |
Beta Was this translation helpful? Give feedback.
-
Yes, timing parameters where 'computed' on events without psi 🤦. Now we managed to fix it . |
Beta Was this translation helpful? Give feedback.
The second error is most likely a broken simulation file (simtel array crashed and didn't finish writing the file), you should report that to whomever created that file, there is nothing really we can do about it.
The second one is something else though. It seems you are computing timing parameters on an event where the hillas parameters are invalid (length or psi nan?).
You need to skip those events.
Note that
ctapipe-process
does this automatically by using aQualityCriteria
component.You seem to re-implement
ctapipe-process
in another package, something that has happened before (e.g. in lstchain, protopipe, ....) and you then keep running in all the edge cases that we already solved w…