View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

hselect seems to be missing

Julien wrote on Aug 14, 2008

Hi there,

I have a problem using the wspectext utiliy on an ESO fits file. The thing is that hselect sems to be missing :

onedspec> wspectext Hip044105calib.fits Hip044105calib.dat
ERROR: task `hselect' not found
"hselect (input, "$I,naxis", yes, > specin)"
line 21: onedspec$wspectext.cl
called as: `wspectext (input=Hip044105calib.fits, output=Hip044105calib.dat)'


What can I do about it. I also try to specify 'header = no' but nothing changed.
Is the hselect task really missing ? Is there a simple way to install it ?

Thank you for your help
(I'm kind of a novice at IRAF)

Julien.

Francisco Valdes wrote on Aug 14, 2008

Hello,

HSELECT is a core task and so cannot be missing if you can run IRAF at all.

The usual login.cl created by the mkiraf command loads the commonly used packages. But it is possible you are doing something differently; such as not
having a login.cl file or starting IRAF from a directory different from where your login.cl file is located. In that case you need to load the "images" package to access the hselect task. This is the only possibility I can think of.

If this is the case because you are just learning then you should use mkiraf in some directory that will be your IRAF "home" so that things are setup in a reasonable manner. You can start IRAF from other directories but then some things will not work conveniently.

Let us know if loading the images package manually does not solve the problem.

Yours,
Frank Valdes

Julien wrote on Aug 14, 2008

Thank you, the problem was the login.cl file missing. In re-run mkiraf in my working directory et everything worked fine.

Thank you !

Julien

Last post on Aug 14, 2008