Posted: Fri Jul 06, 2012 8:30 pm Post subject: ERROR: task `combine' has no param file
Hello,
I got this error:
noao
imred
ccdred
cc> epar combine
ERROR: task `combine' has no param file
eparam (combine)
But I do have combine.par in my iraf/uparm as follows:
# COMBINE -- Image combine parameters
input,s,a,,,,List of images to combine
output,s,a,,,,List of output images
plfile,s,h,"",,,List of output pixel list files (optional)
sigma,s,h,"",,,"List of sigma images (optional)
"
ccdtype,s,h,"",,,CCD image type to combine (optional)
subsets,b,h,no,,,Combine images by subset parameter?
delete,b,h,no,,,Delete input images after combining?
clobber,b,h,no,,,"Clobber existing output image?
"
combine,s,h,"average","average|median",,Type of combine operation
reject,s,h,"none","none|minmax|ccdclip|crreject|sigclip|avsigclip|pclip",,Type of rejection
project,b,h,no,,,Project highest dimension of input images?
outtype,s,h,"real","short|ushort|integer|long|real|double",,Output image pixel datatype
offsets,f,h,"none",,,Input image offsets
masktype,s,h,"none","none|goodvalue|badvalue|goodbits|badbits",,Mask type
maskvalue,r,h,0,,,Mask value
blank,r,h,0.,,,"Value if there are no pixels
"
scale,s,h,"none",,,Image scaling
zero,s,h,"none",,,Image zero point offset
weight,s,h,"none",,,Image weights
statsec,s,h,"",,,"Image section for computing statistics
"
lthreshold,r,h,INDEF,,,Lower threshold
hthreshold,r,h,INDEF,,,Upper threshold
nlow,i,h,1,0,,minmax: Number of low pixels to reject
nhigh,i,h,1,0,,minmax: Number of high pixels to reject
nkeep,i,h,1,,,Minimum to keep (pos) or maximum to reject (neg)
mclip,b,h,yes,,,Use median in sigma clipping algorithms?
lsigma,r,h,3.,0.,,Lower sigma clipping factor
hsigma,r,h,3.,0.,,Upper sigma clipping factor
rdnoise,s,h,"0.",,,ccdclip: CCD readout noise (electrons)
gain,s,h,"1.",,,ccdclip: CCD gain (electrons/DN)
snoise,s,h,"0.",,,ccdclip: Sensitivity noise (fraction)
sigscale,r,h,0.1,0.,,Tolerance for sigma clipping scaling corrections
pclip,r,h,-0.5,,,pclip: Percentile clipping parameter
grow,i,h,0,,,Radius (pixels) for 1D neighbor rejection
The combine.par file should be in $iraf/noao/imred/ccdred/combine.par, what gets put in your uparm file is essentially what you would see from the 'dpar' command to print the parameters. I suspect there may be a problem with your installation, can you verify the combine.par file exits in the noao$imred/ccdred directory? Does a "show iraf" command return the correct path for the iraf root directory on your machine?
Any chance you have the MSCRED package installed and the combine.par file is missing from that, i.e. you installed the package binaries but not the source? Does 'epar' fail with any other tasks? If you try to execute the COMBINE task are you prompted for the parameters or do you get the same error?
Try an "unlearn combine", or better yet is a new MKIRAF to initialize your uparm directory. If we take your first report literally and you have the combine.par file in your uparm dir, instead of the uparm file written by the CL, that would explain why epar couldn't read it.
What does 'setiraf' do and where did it come from? Can you use the standard
% mkiraf
% cl
to start iraf? Is there again a combine.par file in the uparm directory (not the file opened by the CL is actually uparm$ccdcombie.par, does this file exist and is it readable?)
In my loginuser.cl file, I have mscred loaded. When I comment it out, it works!
Now I have a new problem. I have:
PACKAGE = ccdred
TASK = zerocombine
input = @zeros1 List of zero level images to combine
(output = Zero1) Output zero level name
(combine= median) Type of combine operation
(reject = ccdclip) Type of rejection
(ccdtype= zero) CCD image type to combine
(process= no) Process images before combining?
(delete = no) Delete input images after combining?
(clobber= no) Clobber existing output image?
(scale = none) 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 = EGAIN) ccdclip: CCD gain (electrons/DN)
(snoise = ENOISE) ccdclip: Sensitivity noise (fraction)
(pclip = -0.5) pclip: Percentile clipping parameter
(blank = 0.) Value if there are no pixels
(flpar = no) flush pfile on assign?
(mode = ql)
But:
cc> zerocombine
List of zero level images to combine (@zeros1):
ERROR on line 46: No images to combine
zerocombine ()
cc> page zeros1
ccd0064c1.fits
ccd0065c1.fits
but I do have those two fits files in the same directory.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum