astronomy-chat.net
Promoting astronomy discussion.



Main
Date: 01 Nov 2006 17:09:39
From: Terry A Haimann
Subject: Linux Astronomy Program ?


Is it possible to start any of the linux planetarium programs so that when
it starts it is pointing at a specific object? Lets say m57, if I can
give it its coodinates.




 
Date: 01 Nov 2006 22:27:09
From: Terry A Haimann
Subject: Re: Linux Astronomy Program ?


On Wed, 01 Nov 2006 17:09:39 +0000, Terry A Haimann wrote:

> Is it possible to start any of the linux planetarium programs so that when
> it starts it is pointing at a specific object? Lets say m57, if I can
> give it its coodinates.

Let me be more specific. I want to programmatically start the program
from a database app and have it pointing at the object that the database
was referencing.




  
Date: 02 Nov 2006 12:02:37
From: Llanzlan Klazmon the 15th
Subject: Re: Linux Astronomy Program ?


Terry A Haimann <terry@Pegasus.oldboy > wrote in
news:pan.2006.11.01.22.27.56.403573@Pegasus.oldboy:

> On Wed, 01 Nov 2006 17:09:39 +0000, Terry A Haimann wrote:
>
>> Is it possible to start any of the linux planetarium programs so that
>> when it starts it is pointing at a specific object? Lets say m57, if I
>> can give it its coodinates.
>
> Let me be more specific. I want to programmatically start the program
> from a database app and have it pointing at the object that the database
> was referencing.
>
>

Download the source code for the Cartes to Ciel Beta and modify it to
suit. It has a saved config which it restores when you start it to return
to the previous display. It shouldn't be hard to add some code to obtain
the starting RA/DEC and date/time (and even lat/long if you want) from an
external database. If uncertain then ask a question on the Skycharts forum
linked of the sourceforge link I gave you.


Klazmon


>



  
Date: 03 Nov 2006 12:37:34
From: nick
Subject: Re: Linux Astronomy Program ?


Terry A Haimann wrote:
> On Wed, 01 Nov 2006 17:09:39 +0000, Terry A Haimann wrote:
>
>> Is it possible to start any of the linux planetarium programs so that when
>> it starts it is pointing at a specific object? Lets say m57, if I can
>> give it its coodinates.
>
> Let me be more specific. I want to programmatically start the program
> from a database app and have it pointing at the object that the database
> was referencing.
>
>

Kstars has a built in scripting language. You can launch the app with

kstars --script <my-script >

Maybe you can use this feature for what your trying to do.





--
Never trust anyone over 10*[int(my_age/10)+1]


 
Date: 02 Nov 2006 11:01:28
From: Llanzlan Klazmon the 15th
Subject: Re: Linux Astronomy Program ?


Terry A Haimann <terry@Pegasus.oldboy > wrote in
news:pan.2006.11.01.17.10.28.31863@Pegasus.oldboy:

> Is it possible to start any of the linux planetarium programs so that when
> it starts it is pointing at a specific object? Lets say m57, if I can
> give it its coodinates.

Check out the Linux version of Cartes Du Ciel version 3. It is still in beta
but pretty good none the less.

http://sourceforge.net/projects/skychart/

Kalzmon


 
Date: 01 Nov 2006 11:24:06
From: Klaatu
Subject: Re: Linux Astronomy Program ?


Terry A Haimann wrote:

> Is it possible to start any of the linux planetarium programs so that when
> it starts it is pointing at a specific object? Lets say m57, if I can
> give it its coodinates.

Just looked at Kstars which restarts at whatever you were looking at last at
shutdown including M57. If your object is below the horizon you'll
probably get a message to alternatively select the Kstars default view.