Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ERROR: task `combine' has no param file

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Fri Jul 06, 2012 8:30 pm    Post subject: ERROR: task `combine' has no param file Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Sat Jul 07, 2012 3:01 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Sun Jul 08, 2012 3:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Sun Jul 08, 2012 3:41 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Sun Jul 08, 2012 7:15 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Sun Jul 08, 2012 7:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Sun Jul 08, 2012 7:40 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Sun Jul 08, 2012 7:47 pm    Post subject: Reply with quote

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?)
Back to top
View user's profile Send private message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Sun Jul 08, 2012 8:46 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
ping
Active IRAF User


Joined: 13 Apr 2006
Posts: 45

PostPosted: Sun Jul 08, 2012 9:04 pm    Post subject: Reply with quote

OK, it works now - I set

ccdtype= ""

Thanks!

Ping
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.10 seconds