dopcor: “No correction specified”
malte wrote on Jun 07, 2007
I'm trying out dopcor under Pyraf. Using more or less the same parameters as the example in the help, I'm getting the same error every time, No correction specified.
What's going on here? It almost looks like a bug.
--> dopcor del0 del0v redshift=-vhelio isvel+
Killing IRAF task `dopcor'
Traceback (innermost last):
File "<CL script CL1>", line 1, in ?
iraf.dopcor('del0', 'del0v', redshift = '-vhelio', isvel=yes, _save=1)
IrafError: Error running IRAF task dopcor
IRAF task terminated abnormally
ERROR (1, "No correction specified")What's going on here? It almost looks like a bug.
Mike Fitzpatrick wrote on Jun 07, 2007
Obvious first question: Is there a VHELIO header keyword in the image? If so, then does running the task using that value work?
-Mike
-Mike
malte wrote on Jun 07, 2007
Yes, it has a VHELIO value and it works just as badly if I include it explicitly.
--> imhead del0 | grep VHELIO
VHELIO = -4.58962200049163
--> dopcor del0 del0v redshift=4.589 isvel+
Killing IRAF task `dopcor'
PANIC in `/pkg/iraf/2.12.2a/iraf/noao/bin.redhat/x_onedspec.e': Write to IPC with no reader
Traceback (innermost last):
File "<CL script CL1>", line 1, in ?
iraf.dopcor('del0', 'del0v', redshift = '4.589', isvel=yes, _save=1)
IrafError: Error running IRAF task dopcor
IRAF task terminated abnormally
ERROR (1, "No correction specified")
Mike Fitzpatrick wrote on Jun 07, 2007
Try unlearning the task, or whatever the pyraf equivalent is. That particular error is printed when both the 'dispersion' and 'flux' parameters are turned off.
-Mike
-Mike
malte wrote on Jun 07, 2007
Worked! Thanks!
Last post on Jun 07, 2007