View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Running imexamine from a script with keeplog=yes

jimmyxander wrote on Jul 06, 2007

When I run imexamine from a .cl script with keeplog+, it does not enter interactive mode and instead moves on to the next command. With keeplog-, there is no problem. Here is a sample from my script file:

display ngc6853.001.fits 1
imexamine keeplog+ logfile="logcoor"
display ngc6853.002.fits 1
imexamine keeplog+ logfile="logcoor"

In this example, it displays the images, opens the log files, then exits.

Any suggestions?

Thanks!
AJ Smith

Francisco Valdes wrote on Jul 06, 2007

Hi AJ,

What you are doing is fine. I tried a quick test with your example and it did enter the display interactively.

Either the cursor communication has gotten out-of-sync or else you have some other parameter set incorrectly. For the former, exit IRAF and restart the display server. For the latter you can post and lpar of the parameters.

Yours,
Frank Valdes

Last post on Jul 06, 2007