cta-observatory / ctapipe_io_lst

ctapipe IO plugin for LST prototype data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files without Events table

maxnoe opened this issue · comments

As reported by @moralejo here: cta-observatory/cta-lstchain#614 (comment) there are some files that lack the Events table completely.

Currently, the event source for those runs has is_compatible(path) == False and raises an Error when directly opening.

Should we be able to open these files and just have 0 Events? Or is raising an error / not being compatible ok?

What is the containment of those files if they do do not contain Events?
I would say that if there is something useful inside that may be needed to be accessed, then a warning could be raised, otherwise an error is fine.

Only the CameraConfiguration table

if nobody is interested in the CameraConfiguration table of a file that do not contain events, I'd say it is fine to raise an error

With the restructuring in #160, this got adressed.