View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

imcombine error: Attempt to READ out of bounds

rrg wrote on Feb 13, 2007

Hi all,
I am using imcombine to try to combine multiple very large images, using the image WCS information (offsets=wcs). It successfully calculates the offsets, but fails during the combine operation with
ERROR: Attempt to read out of bounds on file (test.fits_632)

The output image would be about 75,000 pixels on a side, so I am figuring on either a memory issue (even with 5Gb of RAM, although I thought imcombine could work on subsections to avoid this) or a predefined array size limit in imcombine. Any thoughts? Can I modify something in imcombine to fix this?

Thanks
Roy

Mike Fitzpatrick wrote on Feb 13, 2007

Hi Roy,

IRAF is still limited to 32-bits and a floating-point image 75K on a side is
something like 20Gb (well beyond the 2Gb 32-bit file size limit). You can try combining small (<2Gb chunks) but the final mosaic would have to be done outside of IRAF. For example, I'd work in "strips" the full width of your final field, then somehow concatenate the result.

-Mike

Last post on Feb 13, 2007