Welcome to iraf.net Friday, May 17 2024 @ 09:55 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ccdred and related packages
   
RIchardHook
 06/03/2008 02:39PM (Read 2287 times)  
+----
Newbie

Status: offline


Registered: 06/03/2008
Posts: 1
A strange problem just popped up. A user has the following in her IRAF login.cl:imred
mscred
crutil
onedspec
twodspec
apextract
ccdredand when she types:ccdred> cosmicrays
ERROR: Cannot open connected subprocess (./xx_ccdred.e)and similarly for many other related tasks.If the ccdred is put after the imred then all is well. This seems to be true on all IRAF installations I found quickly.What is the right order, and why?Thanks! Richard

 
Profile Email
 Quote
fitz
 06/03/2008 02:39PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Richard, The problem appears to be in MSCRED: This package also defines a 'ccdred' package that declares the COSMICRAYS task to be in the x_ccdred.e binary, but in fact it is no longer in there. So, in the list you give, the 'ccdred' loaded in the last step is the one from mscred and the task definition for cosmicrays overwrites the one from the CRUTIL package. Frank is out this week but can fix the package when he returns. Until then, you can either just load MSCRED first (and the CRUTIL load will declare the correct COSMICRAYS, and the CCDRED will be the one from IMRED), or else prefix the task name with the package to force it, e.g.[code:1:5c55580e42]cl> crutil.cosmicrays[/code:1:5c55580e42]Cheers,
-Mike

 
Profile Email
 Quote
valdes
 06/03/2008 02:39PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hi Richard,I see the problem and a fix has been made; though the mscred package is now rarely updated for a new version. The fix was modifying mscred.cl. The diff is below if you are interested.Yours,
Frank[code:1:263c0f2086]
31c31
< set ccdred = "mscsrc$ccdred/"
---
> set mccdred = "mscsrc$ccdred/"
57c57
< ccdgroups = ccdred$x_ccdred.e
---
> ccdgroups = mccdred$x_ccdred.e
65,66c65,66
< task darkcombine = ccdred$darkcombine.cl
< task flatcombine = ccdred$flatcombine.cl
---
> task darkcombine = mccdred$darkcombine.cl
> task flatcombine = mccdred$flatcombine.cl
68c68
< task zerocombine = ccdred$zerocombine.cl
---
> task zerocombine = mccdred$zerocombine.cl
[/code:1:263c0f2086]

 
Profile Email
 Quote
   
Content generated in: 0.14 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