Welcome to iraf.net Wednesday, May 08 2024 @ 02:27 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 adding observatory to obsdb.dat
   
Sunshine
 06/02/2006 04:00AM (Read 9525 times)  
+----
Newbie

Status: offline


Registered: 06/01/2006
Posts: 3
How can I add an observatory to my iraf account? I don't need it added to the general one.Thanks.

 
Profile Email Website
 Quote
fitz
 06/02/2006 04:00AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
A private copy of the observatory database can be used simply by defining an 'obsdb' environment variable giving the path to it. For example,[code:1:9b55ea12f6]
cl> copy noao$lib/obsdb.dat home$ # make private copy
cl> edit home$obsdb.dat # add your entry
cl> reset obsdb = home$obsdb.dat # define the env variable
[/code:1:9b55ea12f6]and you should be able to use the new entry. This can be put in your login.cl file for more persistence and doesn't require iraf write permission. See the OBSERVATORY help page for details.-Mike

 
Profile Email
 Quote
Sunshine
 06/02/2006 04:00AM  
+----
Newbie

Status: offline


Registered: 06/01/2006
Posts: 3
Wow, that was fast! Thanks! Big Grin Do I add it to the login.cl by adding the following?
set obsdb = home$obsdb.dat

 
Profile Email Website
 Quote
fitz
 06/02/2006 04:00AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Right, just be sure the 'keep' remains the last line of the file. You can also put it in a 'loginuser.cl' file in the same directory (again with 'keep' as the last line).-Mike

 
Profile Email
 Quote
Sunshine
 06/02/2006 04:00AM  
+----
Newbie

Status: offline


Registered: 06/01/2006
Posts: 3
Thanks! Big Grin

 
Profile Email Website
 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