Cygwin IRAF with DS9
fourwood wrote on Apr 04, 2008
Hi all,
I just installed IRAF in Cygwin on my WinXP machine, and I'm having an issue getting it to properly interact with DS9. When using imexam, if I haven't loaded the image using the 'display' command in iraf (for example, simply loading the image through file->open in DS9) I get "Warning: Cannot open image (<image path>)" when trying to do anything with the image (i.e. radial/surface plots on a star). The command will still succeed, but it will be done on an image buffer that does not correspond to the loaded image. Can anyone help with this?
I just installed IRAF in Cygwin on my WinXP machine, and I'm having an issue getting it to properly interact with DS9. When using imexam, if I haven't loaded the image using the 'display' command in iraf (for example, simply loading the image through file->open in DS9) I get "Warning: Cannot open image (<image path>)" when trying to do anything with the image (i.e. radial/surface plots on a star). The command will still succeed, but it will be done on an image buffer that does not correspond to the loaded image. Can anyone help with this?
Mike Fitzpatrick wrote on Apr 04, 2008
Using the frame buffer values sounds normal when the image cannot be found. Do you get the warning message when your first start IMEXAM or in response to one of the keystrokes? Do you specify the image name on the command line or start using just the frame number?
When IMEXAM runs it should request the WCS from DS9 that will include the path to the file. This should be enough to let IRAF map the image, the exception though may be with MEF files where you've loaded a single extension or the entire data cube. Is this what you're doing? Otherwise you might be sure that your IRAF and DS9 sessions are using the same directory (i.e. if you start DS9 in '/data' the be sure to do a "cd /data" in IRAF) in case it's only the image name being sent.
Hope this helps.
-Mike
When IMEXAM runs it should request the WCS from DS9 that will include the path to the file. This should be enough to let IRAF map the image, the exception though may be with MEF files where you've loaded a single extension or the entire data cube. Is this what you're doing? Otherwise you might be sure that your IRAF and DS9 sessions are using the same directory (i.e. if you start DS9 in '/data' the be sure to do a "cd /data" in IRAF) in case it's only the image name being sent.
Hope this helps.
-Mike
Last post on Apr 04, 2008