View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

RA/Dec in ds9 from header modified by astrometry.net

David Emory Stooksbury wrote on Jan 09, 2009

I have a fits file that has had its header modified by astrometry.net so that I know the RA/Dec. When I open the file directly into ds9 I get the RA/Dec. However when I use display from IRAF to display the image into ds9, it no longer gives the RA/Dec. Any suggestions? Thanks!

Jason Quinn wrote on Jan 09, 2009

David Emory

I have a fits file that has had its header modified by astrometry.net so that I know the RA/Dec. When I open the file directly into ds9 I get the RA/Dec. However when I use display from IRAF to display the image into ds9, it no longer gives the RA/Dec. Any suggestions? Thanks!


Could you post the full image headers?

Jason

Mike Fitzpatrick wrote on Jan 09, 2009

DS9 is not able to display RA/Dec or real pixel values when an image is displayed by a client like IRAF, only when you load the image standalone from DS9 itself. This is because in the latter case it opens the image to read the header, when displayed from a client the image name is passed in as part of the display but DS9 doesn't open it.

I raised the issue again with Bill Joye recently so they may decide to fix this in the next release. Otherwise you'll need to display using DS9 standalone, or you can use XImtool (which does produce WCS and real-pixel values).

Cheers,
-Mike

Last post on Jan 09, 2009