[AstroPy] Opening 2MASS fits file returns all NaN data
Bob Garwood
bgarwood at nrao.edu
Mon Oct 19 11:29:26 EDT 2015
I just used pyfits 3.3 to read in this file and the returned data values
aren't all NaNs. There's a lot of NaNs, but there's also plenty of
finite values.
Bob
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
> <http://www.astro.keele.ac.uk/%7Edevans/WASP-99_aH_asky_991014s1130092.fits>
>
> Any thoughts?
>
> Regards,
> Daniel
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20151019/9df3cbb8/attachment.html>
More information about the AstroPy
mailing list