VERITAS-Observatory / V2DL3

VERITAS (VEGAS and Eventdisplay) to DL3 Converter
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

bug fixed in writting hdu_class_type for `EDISP` #124

Closed sona-patel closed 2 years ago

sona-patel commented 2 years ago

This resolves the error of Found multiple HDU matching for given OBS_ID in gammapy-0.19

sona-patel commented 2 years ago

It is not related to issue #123. The error message that gets resolved is following for eg. of run number 97230. Found multiple HDU matching: OBS_ID = 97230, HDU_TYPE = aeff, HDU_CLASS = None. Returning the first entry, which has HDU_TYPE = aeff and HDU_CLASS = aeff_2d No HDU found matching: OBS_ID = 97230, HDU_TYPE = edisp, HDU_CLASS = None No HDU found matching: OBS_ID = 97230, HDU_TYPE = psf, HDU_CLASS = None No HDU found matching: OBS_ID = 97230, HDU_TYPE = bkg, HDU_CLASS = None No HDU found matching: OBS_ID = 97230, HDU_TYPE = rad_max, HDU_CLASS = None Skipping run with missing IRFs; obs_id: 97230