Status: offline
Registered: 08/07/2015
Posts: 2
|
Simply changing the two instances of readaxis="line" to readaxis="column" in the ccdproc.cl file throws the bus error or segmentation fault I mentioned in my first post. I have included the detailed errors below.
I actually tried this first on Ureka pyraf, where I could modify the basic files myself on my own system. Then after getting the error, I contacted their help desk, but they recommended I post here: "Since neither of the two ccdproc tasks are produced (nor maintained) here at STScI, this is not a problem we can fix for you. Also, I believe, this has nothing to do with PyRAF (the same behavior occurs in the CL). I believe the right thing to do is to post your question to the good people at iraf.net."
Indeed I copied the ccdproc.cl file and declared it myself and I also got an error in IRAF, so this does seem to be a more fundamental error to the script itself when I make this simple change in this way.
Here is the IRAF error:
ERROR: segmentation violation
"low_reject=low_reject, high_reject=high_reject, grow=grow)"
line 304: ccdproc.cl
called as: `ccdproc ()'
Here is the pyraf error:
Task ccdproc is running...
Fit overscan vector for legendre interactively (yes):
Killing IRAF task `_ccdtool'
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/local/Ureka/ssbx/python/lib/python2.7/lib-tk/Tkinter.py", line 1470, in __call__
return self.func(*args)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/stsci.tools-3.3.0.dev42072-py2.7.egg/stsci/tools/editpar.py", line 1257, in execute
self.runTask()
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/stsci.tools-3.3.0.dev42072-py2.7.egg/stsci/tools/editpar.py", line 1766, in runTask
self._taskParsObj.run(mode='h', _save=1)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 359, in run
self._run(redirKW, specialKW)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 1455, in _run
self._runCode()
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 1470, in _runCode
self._clFunction(*parList, **kw)
File "", line 251, in ccdproc
iraf._ccdtool('@' + Vars.extlist, Vars.out, '', Vars.bpmname,calproc = Vars.cal1,nointerp = '',ccdtype = Vars.ccdtype,proctype = '',max_cache = 0,noproc = Vars.noproc,onerror = 'original',overscan = Vars.overscan,trim = Vars.trim,fixpix = Vars.fixpix,zerocor = Vars.zerocor,darkcor = Vars.darkcor,flatcor = Vars.flatcor,sflatcor = Vars.sflatcor,illumcor = no,fringecor = no,readcor = no,scancor = no,readaxis = 'column',saturation = Vars.saturation,sgrow = Vars.sgrow,bleed = Vars.bleed,btrail = Vars.btrail,bgrow = Vars.bgrow,biassec = Vars.biassec,trimsec = Vars.trimsec,fixfile = Vars.fixf,zero = '@' + Vars.zerolist,dark = '@' + Vars.darklist,flat = '@' + Vars.flatlist,sflat = '@' + Vars.sflatlist,minreplace = Vars.minreplace,interactive = Vars.interactive,function = Vars.function,order = Vars.order,sample = Vars.sample,naverage = Vars.naverage,niterate = Vars.niterate,low_reject = Vars.low_reject,high_reject = Vars.high_reject,grow = Vars.grow)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 767, in __call__
return self.run(*args, **kw)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 359, in run
self._run(redirKW, specialKW)
File "/usr/local/Ureka/ssbx/python/lib/python2.7/site-packages/pyraf-2.2.dev-py2.7-macosx-10.6-x86_64.egg/pyraf/iraftask.py", line 811, in _run
"\n"+str(value))
IrafError: Error running IRAF task _ccdtool
IRAF task terminated abnormally
ERROR (501, "bus error")
|