How to ignore bad images in iraf imstat

64 Views Asked by At

Suppose I have three fits images (file1.fits, file2.fits, and file3.fits).The middle one(file2.fits) is a bad image. When i run imheader it shows ![result]

file1.fits[1092,736][ushort]: bias

file2.fits[1092,736][ushort]: ASAS135406

file3.fits[1092,736][ushort]: flat

But when i run imstat it shows Result

ERROR: Pixel storage file is truncated (file2.fits)

It gave the result for the first image, but the execution stops as soon as it encounters a bad file. How to ignore the bad file and continue the execution

0

There are 0 best solutions below