ERROR: task `combine’ has no param file
ping zhao wrote on Jul 06, 2012
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
Thank you for help!
Ping
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
Thank you for help!
Ping
Mike Fitzpatrick wrote on Jul 06, 2012
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?
ping zhao wrote on Jul 06, 2012
Yes.
cc> show iraf
/iraf/iraf/
cc> ls -l /iraf/iraf/noao/imred/ccdred/combine.par
-rw-r--r-- 1 iraf iraf 1839 Dec 4 1993 /iraf/iraf/noao/imred/ccdred/combine.par
What else can be wrong?
Thanks,
Ping
cc> show iraf
/iraf/iraf/
cc> ls -l /iraf/iraf/noao/imred/ccdred/combine.par
-rw-r--r-- 1 iraf iraf 1839 Dec 4 1993 /iraf/iraf/noao/imred/ccdred/combine.par
What else can be wrong?
Thanks,
Ping
Mike Fitzpatrick wrote on Jul 06, 2012
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?
ping zhao wrote on Jul 06, 2012
I have MSCRED installed. In MSCRED, I can epar combine:
ms> epar combine
I R A F
Image Reduction and Analysis Facility
PACKAGE = mscred
TASK = combine
input = List of images to combine
output = List of output images
But in ccdred:
cc> epar combine
ERROR: task `combine' has no param file
eparam (combine)
Other tasks are fine, e.g.
cc> epar zerocombine
I R A F
Image Reduction and Analysis Facility
PACKAGE = ccdred
TASK = zerocombine
input = List of zero level images to combine
(output = Zero) Output zero level name
Actually I found there is no param for "combine"because I can't run zerocombine:
cc> zerocombine
List of zero level images to combine (@zeros1):
ERROR on line 48: task `combine' has no param file
zerocombine ()
zerocombine ()
Thanks,
Ping
ms> epar combine
I R A F
Image Reduction and Analysis Facility
PACKAGE = mscred
TASK = combine
input = List of images to combine
output = List of output images
But in ccdred:
cc> epar combine
ERROR: task `combine' has no param file
eparam (combine)
Other tasks are fine, e.g.
cc> epar zerocombine
I R A F
Image Reduction and Analysis Facility
PACKAGE = ccdred
TASK = zerocombine
input = List of zero level images to combine
(output = Zero) Output zero level name
Actually I found there is no param for "combine"because I can't run zerocombine:
cc> zerocombine
List of zero level images to combine (@zeros1):
ERROR on line 48: task `combine' has no param file
zerocombine ()
zerocombine ()
Thanks,
Ping
Mike Fitzpatrick wrote on Jul 06, 2012
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.
ping zhao wrote on Jul 06, 2012
I tried unlearn combine. It didn't work.
Now I started a new directory, and did
setiraf
mkiraf
and start iraf
cl> noao
no> imred
im> ccd
cc> combine
ERROR: task `combine' has no param file
Still not working.
Thanks,
Ping
Now I started a new directory, and did
setiraf
mkiraf
and start iraf
cl> noao
no> imred
im> ccd
cc> combine
ERROR: task `combine' has no param file
Still not working.
Thanks,
Ping
Mike Fitzpatrick wrote on Jul 06, 2012
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?)
% 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?)
ping zhao wrote on Jul 06, 2012
Oh, I just found the problem!
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.
BTW, this is Magellan LDSS3 data.
Thanks,
Ping
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.
BTW, this is Magellan LDSS3 data.
Thanks,
Ping
ping zhao wrote on Jul 06, 2012
OK, it works now - I set
ccdtype= ""
Thanks!
Ping
ccdtype= ""
Thanks!
Ping
Last post on Jul 06, 2012