cta-observatory / cta-lstchain

LST prototype testbench chain
https://cta-observatory.github.io/cta-lstchain/
BSD 3-Clause "New" or "Revised" License
26 stars 77 forks source link

Warning in IRF tool for ETRUE_SCALE keyword not compliant with FITS standard #1292

Closed morcuended closed 1 month ago

morcuended commented 2 months ago
WARNING: VerifyWarning: Keyword name 'ETRUE_SCALE' is greater than 8 characters or contains characters not allowed by the FITS standard; a HIERARCH card will be created. [astropy.io.fits.card]

The IRF files are produced anyway, but we may want to make the keyword shorter.

maxnoe commented 2 months ago

You could also add the HIERARCH explicitly to silence the warning:

hdu.header["HIERARCH ETRUE_SCALE"] = ...