I'm trying to display 20k x 20k image on DS9 but having a problem.I have copied $IRAFPATH/iraf/lib/imtoolrc and $IRAFPATH/iraf/lib/graphcap to my home directory as .imtoolrc and .graphcap, and added an entry:64 1 20000 20000 # imt64|imt20kto .imtoolrc and:imt64|imt20k|20K frame buffer:cn#64
r#20000:yr#20000:\
:LC:BS@:z0#1:zr#200
D=node!imtool,,20000,20000:tc=iism70:to .graphcap.On IRAF, I do:cl> reset graphcap = /home/USERNAME/.graphcap
cl> gflush
cl> reset stdimage = imt20kand then issue DISPLAY or IMEXAM while DS9 is running in the background.This always ends in the following error (this session in on PyRAF but I get the same thing on IRAF cl):--> display data/image.fits 1
z1=-2.064185 z2=2.07611
Killing IRAF task `display'PANIC in `/usr/local/iraf/iraf/bin.redhat/x_tv.e': fatal error during process shutdown
Traceback (innermost last):
File "<CL script CL1>", line 1, in <module>
iraf.display('data/image.fits', '1', _save=1)
IrafError: Error running IRAF task display
IRAF task terminated abnormally
ERROR (723, "AWRITE transfer not aligned on a device block boundary (node!imtool,,20000,20000)")
I wonder if there is any way to fix this problem! I believe I followed a standard procedure to add an entry to imtoolrc and graphcap as above, but I'm not sure now what I'm missing. By the way I've had the same problem both on Linux and OS X (Snow Leopard).Any input would be appreciated!Thank you for your time,
Taro