View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

wcs using imeaxm and ds9

jcadien1 wrote on Jun 11, 2013

I have images with wcs in header computed by imwcs(from wsctools). When I load an image into ds9 directly the wcs info is displayed, and the "display fits header" shows the entire header.
However, when I run "imexam filename wcs=world" from the ecl, there is no wcs info displayed, and the fits header shows only simple,bitpix,naxis, naxis1,naxis2 and end.
How can I get this to show the wcs info?
Jim

Mike Fitzpatrick wrote on Jun 11, 2013

This is a long-standing shortcoming of DS9 as an IRAF display: it only uses the approximate coords and pixel scaling sent with the display protocol instead of opening the image the read the actual WCS the way is does when loading the file directly. You might try loading the image using the DS9 'File' menu and then use IMEXAM on the already-displayed image as a compromise.

Note also that due to problems introduced in v7.2, SAO is recommending that v7.1 be used for iraf image displays.

Last post on Jun 11, 2013