cta-observatory / protopipe

Prototype data analysis pipeline for the Cherenkov Telescope Array Observatory
https://protopipe.readthedocs.io/en/latest/
Other
5 stars 13 forks source link

Error loading protopipe IRFs in gammapy #142

Closed gaia-verna closed 2 years ago

gaia-verna commented 3 years ago

I'm using gammapy v18.2.

A KeyError is rising in gammapy loading CTA IRFs produced using _make_performanceEventDisplay.py script. The problem seems to be related to hdus names: for example the class EffectiveAreaTable2D searchs for hdu="EFFECTIVE AREA" but it finds hdu="EFFECTIVE_AREA" in pyirf_protopipe.fits.gz file.