Hi everyone. I would really appreciate your help.
I am doing a very simple host script to run QPHOT.
I am having trouble loading packages.
(Running IRAF V 2.15.1a in MAVERICKS 10.9.1 in MacBook Pro)
The script asks for all the packages needed for QPHOT.
When the script finishes running, I can do an EPAR QPHOT and it will give an error:
ERROR: task `qphot' not found
called as: `eparam (qphot)'
I then check and the first package in the list in the script was loaded the but the others weren't.
If I add the EPAR QPHOT line directly to the script, then when it finishes running, the IRAF terminal window is set in the EPAR environment of QPHOT. What is going on here?
I present the simple script:
#!/iraf/iraf/bin.macintel/ecl.e -f
#set home = "/iraf/iraf/unix/hlib/"
#set imdir = "/tmp/mario/"
#set uparm = "home$uparm/"
#set userid = "mario"
#set tfred = "/iraf/iraf/TFRED2/"
#set lacos = "/iraf/iraf/"
#set ctio = "/iraf/iraf/extern/ctio/"
#set imtype = fits
#stty xgterm # set terminal type
#clpackage
noao # load TFRED package
digiphot
apphot
epar qphot
Your help is greatly appreciated.