Skip to content

Commit

Permalink
Merge pull request #66 from jlenain/65-nectarcam-runs-cannot-be-read-…
Browse files Browse the repository at this point in the history
…with-last-event-builder

NectarCAM runs not compatible with `EventSource` anymore
  • Loading branch information
vmarandon authored Jan 14, 2025
2 parents a0d15d8 + 0dc5131 commit ffbff42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ctapipe_io_nectarcam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,10 @@ def is_compatible(file_path):
and (h["ZTABLE"] is True)
and (h["ORIGIN"] == "CTA")
and (
h["PBFHEAD"] == "R1.CameraEvent" or h["PBFHEAD"] == "CTAR1.Event"
) # The latter is from EVBv6
h["PBFHEAD"] == "R1.CameraEvent"
or h["PBFHEAD"] == "CTAR1.Event"
or h["PBFHEAD"] == "R1v1.Event"
) # The latter two are for EVBv6
)

is_nectarcam_file = "nectarcam_counters" in ttypes
Expand Down

0 comments on commit ffbff42

Please sign in to comment.