Welcome to iraf.net Saturday, April 20 2024 @ 11:30 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Cannot run epar setinstrument and other command
   
orionist
 02/25/2017 08:05AM (Read 1959 times)  
+----
Newbie

Status: offline


Registered: 02/25/2017
Posts: 2
I just install IRAF using mkiraf.

when I tried to run epar setinstrument, I got the error

ERROR: task `setinstrument' not found
called as: `eparam (setinstrument)'

and the same as epar with other command like epar ccdproc, epar zerocombine, etc.

Does anyone know how to fix this problem?

 
Profile Email
 Quote
fitz
 02/27/2017 05:12PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Did you load the packages first? I.e. after logging in

cl\$this->_split2($m[0]) imred
cl\$this->_split2($m[0]) ccdred
cl\$this->_split2($m[0]) epar setinstrument

 
Profile Email
 Quote
orionist
 02/27/2017 09:02PM  
+----
Newbie

Status: offline


Registered: 02/25/2017
Posts: 2
Quote by: fitz

Did you load the packages first? I.e. after logging in

cl\$this->_split2($m[0]) imred
cl\$this->_split2($m[0]) ccdred
cl\$this->_split2($m[0]) epar setinstrument




That's work for me, Thank you Smile

But My friends who have run the IRAF on the same server before, they told me that they don't have to load the packages first. They could type epar ..... after they open IRAF using cl command. I just want to know why is that?
or Is there any way to set for IRAF to load the packages automatically? or I have to load it every time.

Thank you

 
Profile Email
 Quote
fitz
 02/27/2017 09:17PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You can edit your login.cl file so packages are loaded automatically at login time -- see the list of packages near the bottom of the file. Simply type each package name one-per-line and be sure this is all done before the final 'keep' command.

 
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