View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

file extensions in v2.16

Vallery Stanishev wrote on Mar 29, 2012

I just installed v2.16 64-bit on Fedora 16 x86_64. Seem to be working fine so far, but I noticed a small issue with MEF. Before if I wanted to extract an extension from a MEF file, I would do:

imcopy ALvc280181[1] ttt
or
imcopy ALvc280181[1,inher] ttt

Now this does not work without adding the fits extension, e.g.

imcopy ALvc280181.fits[1,inher] ttt

These also do not work:

vocl> imcopy ALvc280195[1] ttt
ERROR: Cannot open file (ALvc280195)

vocl> imstat ALvc280195[1]
ERROR: Cannot open file (ALvc280195)

This works:
vocl> imstat @ALvc280195.fits
# IMAGE NPIX MEAN MIDPT MODE STDDEV MIN MAX
ALvc280195.fits[1] 4153063 14627. 14625. 14638. 41.36 14504. 14751.

but this one does not:

vocl> imstat @ALvc280195
# IMAGE NPIX MEAN MIDPT MODE STDDEV MIN MAX

For simple FITS files all these commands work without specifying the extension of the file. Is there any specific reason why this does not work with MEF file?

Vallery Stanishev wrote on Mar 29, 2012

just found out that this was covered in another post. I will try to updated distribution.

Vallery Stanishev wrote on Mar 29, 2012

... and the updated version works.

Last post on Mar 29, 2012