[AstroPy] disable fatal errors on illegal keywords in FITS Header created by Header.fromstring
Simon Conseil
simon at sconseil.fr
Fri Mar 27 05:06:48 EDT 2015
Hello,
I had the same error with this 'IRAF-B/P’ keyword, there is a related
issue here: https://github.com/astropy/astropy/issues/887
Simon
Le 27/03/2015 04:19, JJ Kavelaars a écrit :
> I am creating headers with the class method Header.fromfile. These older files contain the keyword 'IRAF-B/P’. This keyword violates the FITS standard, these files pre-date the standard.
>
> In astropy the existence of the IRAF-B/P keyword causes a fatal error when attempting to print the header.
>
> Is there a flag that will set an ‘ignore’ flag when creating the header via the Header.fromfile method such that errors are ignored rather than fatal?
>
> thanks,
> JJ
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
--
Simon Conseil
CRAL - Observatoire de Lyon
9, avenue Charles André
69230 Saint-Genis-Laval
More information about the AstroPy
mailing list