IRAF at the Center for Astrophysics

IRAF is a general purpose software system for the reduction and analysis of astronomical data. The Telescope Data Center supports the following versions at the Harvard-Smithsonian Center for Astropysics.

IRAF 2.14.1
Sept. 2008
This is our workhorse IRAF installation, with the most external packages installed.
Read the release notes for details.
Contact Jessica if you need a package that is not installed yet.
Add the following lines to your .cshrc or .myrc file:
setenv      irafroot /data/oir/IRAF2.14.1/
setenv      IRAFARCH redhat
setenv      iraf    ${irafroot}iraf/
set path=( $path ${iraf}unix/bin.redhat
IRAF 2.15.1a
Feb. 2011
This is the first IRAF supporting 64-bit processing. It is a bit faster and has most packages installed.
Read the release notes for details.
Contact Jessica if you need a package that is not installed yet.
For 32-bit executables, use linux instead of linux64
Add the following lines to your .cshrc or .myrc file:
setenv      irafroot /data/oir/IRAF2.15.1/
setenv      IRAFARCH linux64
setenv      iraf    ${irafroot}iraf/
set path=( ${iraf}/unix/bin.linux64 $path )
IRAF 2.16
March 2012
This is the current version of IRAF, with Virtual Observatory support. Frequently-used packages are installed, including the latest tables and stsdas.
Read the release notes for details.
Contact Jessica if you need a package that is not installed yet.
For 32-bit executables, use linux instead of linux64
Add the following two lines to your .cshrc or .myrc file:
setenv      irafroot /data/oir/IRAF2.16/
setenv      IRAFARCH linux64
setenv      iraf    ${irafroot}iraf/
set path=( ${iraf}/unix/bin.linux64 $path )

Using IRAF

1. Set up your environment for the desired version of IRAf as shown above, and run source .cshrc to enter the new information.

These installations are not automatically available to users, and simply setting the iraf environment variable and your path from the command line won't work. Every time that IRAF executes a package, it invokes csh, thus sourcing ~/.cshrc. The path and iraf environment variable must be set for the shell that IRAF invokes when it executes packages and their tasks so that they are run from the correct version of IRAF. cl and mkiraf are linked into either the bin.redhat, bin.linux, or bin.linux64 directory, depending on the IRAF version, so they will be in your path.

2. Run mkiraf in the directory from which you wish to run IRAF. It will create a login.cl file and a parameter directory called uparm/. You can have multiple startup directories for different projects and use them simultaneously, as long as you are using the same version of IRAF.

3. Type cl to start IRAF. The version will display, followed by a list of installed packages.

4. At the ecl> prompt, type an IRAF command or package name. IRAF help is available for any package and any loaded task.

Available IRAF packages are described here

Contact Jessica or check the forums on iraf.net if you have any questions about IRAF.