View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

imcombine memory problem

neilzim wrote on Sep 29, 2008

I'm trying to use the following script to median three images:


#! /iraf/irafbin/bin.macintel/cl.e -f

noao
images
immatch
printf ("imcombine @darkin.lis darkout.fits\n") | cl()

logout


where darkin.lis is a text file containing a list of three FITS filenames. It fails with the following error:

Warning: Cannot open pixel file (/Users/neil/proj1640/DATA/9.8.08/Processed/DARK_D_196.fits)- Maybe min_lenuserarea is too large


DARK_D_196.fits is the first file on the darkin.lis input list. The fits file has 110 header keywords. Having read that the min_lensuserarea variable has to be at least 80 times the number of keywords, I set it to 10000 in the beginning of the script, but this didn't change anything. I also tried a suggestion I found somewhere else in this forum,
set imcombine_maxmemory = 100000000
--also no change there.

The input FITS file size is 2048*2048 pixels*32 bits = 17 MB. Is this too large for imcombine to handle?

neilzim wrote on Sep 29, 2008

I solved my own problem by upgrading IRAF to version 2.14 (it was 2.13 before).

Last post on Sep 29, 2008