View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Installing Packages?

David Riebel wrote on Feb 04, 2010

Hi, as I teach myself IRAF for the first time, I'm working my way through a few of the exercises downloaded from http://iraf.noao.edu/tutorials/tutorials.html, specifically, those dealing with spectra. In exercise 3, at step ~3, the tutorial asks me to unlearn ccdred. IRAF complains, saying
ERROR: task `ccdred' not found
called as: `unlearn (ccdred)'

I understand that this is a IRAF package, but I can't find anywhere from which to download additional packages. I found a page that offered a single binary download of "NOAO Packages", but no specific instructions on where that should go.

Thanks for any help,

Dave

Mike Fitzpatrick wrote on Feb 04, 2010

The CCDRED task is part of the core system in the IMRED.CCDRED package. To use it, type 'imred' followed by 'ccdred' to load the packages.

-Mike

David Riebel wrote on Feb 04, 2010

That's great, thanks. I'm running into this problem a lot, is there someway to figure this out without asking a forum? I'm following a spectroscopic reduction cookbook that includes the steps:
# Combine dark exposures using mscred.combine
# Subtract dark frames using imarith or mscred.mscarith

"help mscred", "apropos mscred", "?mscred", "??mscred" all give me nothing. Is there a way to find out where this package is hidden?

Mike Fitzpatrick wrote on Feb 04, 2010

MSCRED is a true external package that must have been installed separately. Packages are defined in the hlib$extern.pkg file (e.g. "cl> type hlib$extern.pkg"), however you can define a package without having actually unpacked the source files/binaries so this isn't reliable, you need to see whether the files exist where they are declared.

You can download MSCRED from the download link on the banner bar under 'External Package', see the README file for installation instructions.

Last post on Feb 04, 2010