View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

List of Multiformat FITS files

toml42 wrote on Jul 01, 2011

Hi,

I'm a little new to this, so please excuse the newbieness!

I have a large list of FITS files that i'm trying to median combine as a master bias frame using the 'zerocombine' command in noao.

The problem i'm having is that my FITS files are all multiformat, when dealing with single images i can get around this by manually specifying the format, i.e:

myfile.fits[1]

but when reading them in from a list, it doesn't recognize it as an image file with the [1] on the end, and without it i get the multiformat error :s

can anyone give me a pointer on how to get around this?

cheers,

Tom

toml42 wrote on Jul 01, 2011

ok, so i've done a little reading and it seems a possible solution to the problem i'm having is to use fxsplit in fitsutil.

I've not installed an external package to IRAF before, but i think i'm on the right lines. I installed the macosx version and changed my login.cl file as per the readme file.

IRAF recognizes the package and all of the commands when i type them, i can access the help files and view the parameters with lpar etc.

but when i try and actually use them, nothing happens, i don't even get an error message, just nothing happens.

any ideas? i'm getting there, slowly :roll:

Mike Fitzpatrick wrote on Jul 01, 2011

A few quick comments: You can use the IMEXTENSIONS task to list the MEF extensions for you to use either as an @-file or a comma-delimited list (see the help page examples for the task). Doing so means you wouldn't need to split the MEF into individual files (where you'd have to create an input list anyway).

Secondly, have a look at the MSCRED external package which is designed to work with MEF files (e.g. has the MEF equivalents of CCDPROC, ZEROCOMBINE, etc). If you've install IRAF v2.15 you can get this package by doing


% cd $iraf/extern
% ./configure
% make mscred


The 'configure' command is only needed once, the 'make' command will also install any dependencies (such as FITSUTIL). For Mac systems this assumes you have the development tools installed, if not let me know and I'll tell you the workaround. Otherwise, be sure you installed both the source and the binary distribution for the package (I'm surprised that you don't see any form of error message though).

toml42 wrote on Jul 01, 2011

Thanks for your reply, i'm currently upgrading to IRAF 2.15 now, then i'll try MSCRED, that sounds very useful

I did install both source and binary, really wish i knew what had gone wrong there...

cheers,

Tom

toml42 wrote on Jul 01, 2011

once 2.15 was installed, i grabbed MSCRED as per your instructions.

everything worked first time 8)

thanks a lot,

Tom

Last post on Jul 01, 2011