Welcome to iraf.net Thursday, April 18 2024 @ 11:10 PM GMT


 Forum Index > Help Desk > Python New Topic Post Reply
 cl script under ureka
   
haha
 12/10/2014 06:09AM (Read 993 times)  
+++--
Chatty

Status: offline


Registered: 10/25/2013
Posts: 39
If iraf is installed under ureka, how to revise the old cl scripts and make them work?

For example , the old cl script catfits is like below?

set home="/home/h"
set arch=".redhat"
logver = "IRAF V2.11 May 1997"
lists
tables
fitsio
unlearn catfits
catfits.long_header=no
print "you should enter: cafits fitsname"
printf("catfits %s\n",args)|cl()

logout


How to revise it when iraf is installed under ureka?

 
Profile Email
 Quote
fitz
 12/10/2014 04:34PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

I'm confused.... What is it about this script that isn't working? And why is this in the Python forum?

 
Profile Email
 Quote
haha
 12/11/2014 05:08AM  
+++--
Chatty

Status: offline


Registered: 10/25/2013
Posts: 39
It is catfits in command line. It can work under a standalone iraf.
Ureka is python based.

 
Profile Email
 Quote
fitz
 12/11/2014 03:44PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Ureka is a software distribution in the way SciSoft is, i.e. it includes python-based things like the pyraf Cl replacement, but it also includes an iraf system as well. So long as you can still type 'cl' the script should continue to work.

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