View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net Issue #55

[Linux64] darkcombine not working in the steelewool/iraf-v216 oleboleUpdates branch

closed closed RobSteele49 opened this issue on 2017-05-12 · 3 comments


RobSteele49 commented on 2017-05-12

ccdred> dir
dark1.fit dark2.fit

ccdred> pwd
/home/steele/git/iraf-v216/testDark

ccdred> darkcombine
List of dark images to combine (d1.fit,d2.fit): dark1.fit,dark2.fit
ERROR: No images to combine
“pclip=pclip, grow=0)”
line 47: ccdred$darkcombine.cl
called as: `darkcombine ()’

I’ll test this out on the official buid and will post those results here.


RobSteele49 commented on 2017-05-12

Just saw this post on iraf.net:

You can find the solution here:
https://code.google.com/archive/p/myrafproject/issues/13
https://iraf.net/forum/viewtopic.php?showtopic=1467939

Which claims to fix the problem. I tested using the linux64 version I just downloaded from http://iraf.noao.edu/ The error was the exact same as with the software I’ve built.


RobSteele49 commented on 2017-05-14

The defaults for darkcombine use ‘ccdtype = “dark”’. With this option darkcombine can’t find any of my images. It seems that this option should be left for the user to specify. I also had to change process from yes to no. Without the change to process I got:

List of dark images to combine (@origList):
ERROR: No bad pixel mask found
“ccdproc (ims, output=””, ccdtype=ccdtype, noproc=no)”
line 37: ccdred$darkcombine.cl
called as: `darkcombine ()

Original parameters after a clean build:

ccdred> lpar darkcombine
input = List of dark images to combine
(output = “Dark”) Output dark image root name
(combine = “average”) Type of combine operation
(reject = “minmax”) Type of rejection
(ccdtype = “dark”) CCD image type to combine
(process = yes) Process images before combining?
(delete = no) Delete input images after combining?
(clobber = no) Clobber existing output image?
(scale = “exposure”) Image scaling
(statsec = “”) Image section for computing statistics
(nlow = 0) minmax: Number of low pixels to reject
(nhigh = 1) minmax: Number of high pixels to reject
(nkeep = 1) Minimum to keep (pos) or maximum to reject (neg
(mclip = yes) Use median in sigma clipping algorithms?
(lsigma = 3.) Lower sigma clipping factor
(hsigma = 3.) Upper sigma clipping factor
(rdnoise = “0.”) ccdclip: CCD readout noise (electrons)
(gain = “1.”) ccdclip: CCD gain (electrons/DN)
(snoise = “0.”) ccdclip: Sensitivity noise (fraction)
(pclip = -0.5) pclip: Percentile clipping parameter
(blank = 0.) Value if there are no pixels
(mode = “ql”)


RobSteele49 commented on 2017-05-25

The latest version (5/25/17) of the code doesn’t work until I set the parameter for process to no.


Closed on 2017-05-31