[fitsbits] Infinite floats in FITS headers

Lucio Chiappetti lucio at lambrate.inaf.it
Mon May 5 11:10:19 EDT 2014


On Mon, 5 May 2014, Peter Weilbacher wrote:

> Quick question: what should I do when I have an infinite floating point
> value (like INF, NAN) that I want to save into a FITS header?
> I do not explicitly) find this case in the FITS specifications.

It is not handled by the spec. It was discussed at least twice (you can 
look in the fitsbits archives) in a thread in August 1997 and in a more 
recent one in June 2013. The latter was discussing pro and cons and 
suggesting some hacks.




More information about the fitsbits mailing list