Closed pllim closed 9 years ago
There is a possible fix for this in commit 4a9b9bc05c8bb212a3fb90e077ca20c6bee1ffd9. I check the HDU type and pass by those that are not ImageHDU
or PrimaryHDU
.
Would it be possible to get a copy of this FITS file or a similar one for future testing?
@ejeschke , I emailed your the data file.
Thanks, @pllim. I verified that the above commit now opens the file. However, the WCS does not work. Looking into that now.
Commit 0c6a3ea031a0468fe126f8d73c1e5f3192abdaab contains a fix so that ginga now recognizes not to do a second conversion to the user's preferred coordinate space (e.g. FK5->galactic) when the coordinate system is "LINEAR" (as shown by the CTYPE in HDU 2 of this data file. It now reports the units returned from the wcs. But the units do not match what ds9 shows. However they do match what I get if I look up pixel coordinates via astropy commands in a python shell.
So I don't know which set are correct. If ds9's values are correct then I think we need to get an astropy wcs guru to check the output of the astropy wcs on this HDU.
@nden, do you handle astropy
WCS now? Is this something you can assist with?
@ejeschke, thank you for the fix. I can confirm that Ginga can indeed open SCI
extension by default now and automatically skips the table.
@ejeschke, can we close this now that the WCS matter is moved to #205?
Yes, I think the basic load issue is solved.
As reported by @gderosa2004, even using the latest dev version . Here is the file info:
This Ginga command
gives the following error in the GUI:
and in the log file:
DS9 has no problem skipping the table in EXT 1 and opens image in EXT 2 using the following command:
However, specifying the extension explicitly in Ginga successfully opens the image: