View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Running .cl script

cmwarre wrote on Apr 05, 2011

hi what all do I need to do to run a .cl script on osx? I installed iraf via the scisoft package.

Thanks!

Mike Fitzpatrick wrote on Apr 05, 2011

It depends on exactly what's in the .cl file: If it is just a list of IRAF commands you can run those commands as e.g.

ecl> cl < myfile.cl


If .cl contains a procedure script, you need to declare it as a task first, e.g.

ecl> task mytask = /path/mytask.cl
ecl> mytask infile.fits


See the Script Beginner's Guide (http://iraf.net/irafdocs/beguide/) for additional detail.

Last post on Apr 05, 2011