Status: offline
Registered: 04/03/2008
Posts: 14
|
Hi,
I have the exact same error when I try to run a script in IRAF. I had just moments before had no problems with previous scripts in IRAF, but for some reason now when I type cl < scriptname.cl I get this error: ERROR: CLGWRD: No match, or ambiguous abbreviation (chebychev)
called as: `cl (gcur=hedit2.cl)'I'm trying to do multiple overscan/bias reductions on several images in noao/imred/ccdred/ccdproc. I've tried to unlearn mkscript, cl, noao,imred,ccdred,ccdproc,hedit. (Any previous task I was using before.) Any clues on why this is happening?
Also, I tried recreating the script and still same error.Additionally, I just tried to run CCDPROC without using any scripts and I got the same error. I tried to unlearn it again without any success.
Thanks,
Shelly
|
Status: offline
Registered: 04/03/2008
Posts: 14
|
Mike,
Thank you for your reply. I'm a bit leery to make a whole new iraf. Wouldn't this cause problems with my path?
I tried typing trace_d and IRAF doesn't recognize that as a task.
Here is what my hedit2.cl script looks like:hedit ("iSDSS537trim.fits[2]",
"DATASEC", "[1:2039,1:4073]", add=no, addonly=no, delete=no, verify=no,
show=yes, update=yes)hedit ("iSDSS537trim.fits[3]",
"DATASEC", "[1:2039,1:4073]", add=no, addonly=no, delete=no, verify=no,
show=yes, update=yes)ect... It's just changing the header of the star files. This script is not one I am trying to use now. Also, when I did unlearn on ccdproc it changed the error message slightly in that it got ride of the (hedit2.cl) completely.The script I'm trying to use now is:
ccdproc ("@izero",
output="@itzero", ccdtype=" ", max_cache=0, noproc=no, fixpix=no,
overscan=yes, trim=yes, zerocor=no, darkcor=no, flatcor=no, illumcor=no,
fringecor=no, readcor=no, scancor=no, readaxis="line", fixfile="",
biassec="[2058:2071,100:4000]", trimsec="[6:2044,18:4090]", zero="", dark="",
flat="", illum="", fringe="", minreplace=1., scantype="shortscan", nscan=1,
interactive=no, function="chebychev", order=1, sample="*", naverage=1,
niterate=1, low_reject=3., high_reject=3., grow=0.)Which is just ccdproc called several times for various files.
Here is the error when I try to run ccdproc with or without the script:ERROR: CLGWRD: No match, or ambiguous abbreviation (chebychev)
called as: `cl ()'
One last thing that may be helpful. Because the error messages says ambiguous abbreviation (chebychev) I decided to change the Fitting function (function = legendre instead of chebychev. When I did this ccdproc ran with no errors. Do you know what could be calling this or why the error would be a result of the fitting function being chebychev?
Thanks,
Shelly
|