Welcome to iraf.net Tuesday, April 30 2024 @ 09:09 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ERROR: task `combine' has no param file
   
ping
 07/06/2012 08:30PM (Read 7753 times)  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
Hello,I got this error:
noao
imred
ccdredcc> 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 parametersinput,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 rejectionThank you for help!Ping

 
Profile Email
 Quote
fitz
 07/06/2012 08:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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?

 
Profile Email
 Quote
ping
 07/06/2012 08:30PM  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
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.parWhat else can be wrong?Thanks,Ping

 
Profile Email
 Quote
fitz
 07/06/2012 08:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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?

 
Profile Email
 Quote
ping
 07/06/2012 08:30PM  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
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 = combineinput = List of images to combine
output = List of output imagesBut 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 = zerocombineinput = List of zero level images to combine
(output = Zero) Output zero level nameActually 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

 
Profile Email
 Quote
fitz
 07/06/2012 08:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.

 
Profile Email
 Quote
ping
 07/06/2012 08:30PM  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
I tried unlearn combine. It didn't work.Now I started a new directory, and didsetiraf
mkirafand start iraf
cl> noao
no> imred
im> ccd
cc> combine
ERROR: task `combine' has no param fileStill not working.Thanks,Ping

 
Profile Email
 Quote
fitz
 07/06/2012 08:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
What does 'setiraf' do and where did it come from? Can you use the standard % mkiraf
% clto 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?)

 
Profile Email
 Quote
ping
 07/06/2012 08:30PM  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
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 = zerocombineinput = @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.fitsbut I do have those two fits files in the same directory.BTW, this is Magellan LDSS3 data.Thanks,Ping

 
Profile Email
 Quote
ping
 07/06/2012 08:30PM  
+++--
Chatty

Status: offline


Registered: 04/13/2006
Posts: 45
OK, it works now - I setccdtype= ""Thanks!Ping

 
Profile Email
 Quote
   
Content generated in: 0.26 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login