[AstroPy] Opening 2MASS fits file returns all NaN data

Erik Bray embray at stsci.edu
Mon Oct 19 11:30:25 EDT 2015


On 10/19/2015 11:19 AM, Daniel Evans wrote:
> Hello all,
>
> I am attempting to open a set of .fits files containing 2MASS images using
> astropy.io.fits (astropy v1.0.4). The files open without any errors, the headers
> show correctly, and the data array has the correct shape, but all the data
> values are set to NaN.
>
> DS9 is able to display the images without any problem, whilst pyfits v3.3.0
> shows the same problem (perhaps unsurprising).
>
> An example file is available at:
> http://www.astro.keele.ac.uk/~devans/WASP-99_aH_asky_991014s1130092.fits
>
> Any thoughts?

There are just NaNs around the borders, which is typical.

Erik




More information about the AstroPy mailing list