View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

gdisplay file read error

hplana wrote on Apr 03, 2009

I have the following error trying to vizualize a GMOS image with DS9. I am using IRAF from scisoft under MacOSX. I reinstall DS9 but the prb remains. I tried to load images from others observations with the same prb.

Thanks for your help

Henri

Frame to write to (1):
GDISPLAY: Using image S20080205S0031
stdimage = imtgmos
S20080205S0031.fits[1] 1 2048 1 4608 1.0 z1=993. z2=16186.
S20080205S0031.fits[2] 2049 4096 1 4608 1.0 z1=1015. z2=21927.
ERROR: File read error (node!imtool,,6400,4644)
"bpcolors="red", overlay=doverlay, ocolors="green")"
line 492: gmos$gdisplay.cl
called as: `gdisplay (image=S20080205S0031.fits)'

Mike Fitzpatrick wrote on Apr 03, 2009

It might be a missing 'imtoolrc' file which is used to specify the frame buffer size. This is normally created as a link to $iraf/dev/imtoolrc in the /usr/local/lib directory, or you can copy $iraf/dev/imtoolrc to ".imtoolrc" in your unix home directory. You'll need to restart DS9 for this to take effect.

If SciSoft is using an old imtoolrc file it might not include the GMOS device entries.

-Mike

hplana wrote on Apr 03, 2009

That was exactly that. The imtoolrc had disappear from the /usr/local/lib for
a mysterious reason ....

Thanks a lot

Henri :lol:

Last post on Apr 03, 2009