This is the problem:[code:1:0bd05a7a9a]
PACKAGE = immatch
TASK = imcombineinput = bias*.fits List of images to combine
output = b.fits List of output images
(headers= ) List of header files (optional)
(bpmasks= ) List of bad pixel masks (optional)
(rejmask= ) List of rejection masks (optional)
(nrejmas= ) List of number rejected masks (optional)
(expmask= ) List of exposure masks (optional)
(sigmas = ) List of sigma images (optional)
(logfile= STDOUT) Log file
(combine= average) Type of combine operation
(reject = none) Type of rejection
(project= no) Project highest dimension of input images?
(outtype= real) Output image pixel datatype
(outlimi= ) Output limits (x1 x2 y1 y2 ...)
(offsets= none) Input image offsets
(masktyp= none) Mask type
(maskval= 0) Mask valueJun 23 0:09: IMCOMBINE
combine = average, scale = none, zero = none, weight = none
blank = 0.
Images
bias.00000001.BIAS.fits
bias.00000002.BIAS.fits
bias.00000003.BIAS.fits
bias.00000004.BIAS.fits
bias.00000005.BIAS.fits
bias.00000006.BIAS.fits
bias.00000007.BIAS.fits
bias.00000008.BIAS.fits
bias.00000009.BIAS.fits Output image = b.fits, ncombine = 9
dataio> imhist b.fits
ERROR: bus error
[/code:1:0bd05a7a9a]The bias*.fits are 16bit "unsigned" integer:
[code:1:0bd05a7a9a]
SIMPLE = T/CCDSOFT-SOFTWARE BISQUE 2
BITPIX = 16
NAXIS = 2
NAXIS1 = 1024
NAXIS2 = 1024
BSCALE = +1.000000000000e+000
BZERO = +3.276800000000e+004
....
[/code:1:0bd05a7a9a]and this is the b.fits image:
[code:1:0bd05a7a9a]
SIMPLE = T / Fits standard
BITPIX = -32 / Bits per pixel
NAXIS = 2 / Number of axes
NAXIS1 = 1024 / Axis length
NAXIS2 = 1024 / Axis length
EXTEND = F / File may contain extensions
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator
DATE = '2006-06-22T21:11:41' / Date FITS file was generated
.....
[/code:1:0bd05a7a9a]The funny thing is that image b.fits created by imcombine is a good image... I can display it with ds9... but I can't use it within iraf tasks!I also downloaded some fits floating point image from here:
http://www.cv.nrao.edu/fits/data/samples/image/I have the same problem with primary HDU of file vogtstar_awt.fits... Again: I can display the image in ds9.Cheers,
Emiliano.