Page 1 of 1

Script or DOS program to import comets

Posted: 27.12.2012, 12:17
by Limax7
Hi.

Why Celestia can't import comets. Maby some script or simple DOS program can do that.
Here is database of now visible comets
http://www.minorplanetcenter.net/iau/Ep ... omets.html

Can anybody do that ?

Re: Script or DOS program to import comets

Posted: 27.12.2012, 16:49
by t00fri
Limax7 wrote:Hi.

Why Celestia can't import comets.
Because this is a simple and standard scripting task.

The best bet would be to use Perl scripting which exists in all OS and is easy to learn.

By means of Perl scripts, I have imported into the standard Celestia distribution all the scientific data for binary systems (visualbins.stc, spectbins.stc) , for 10000+ galaxies ( galaxies.dsc) and for globular clusters (globulars.dsc). So if you want more comets, spent 1 day of learning Perl and write the corresponding import script. It's really not difficult and you may take my Perl scripts as guides.
Can anybody do that ?
Of course I can do that, but I have no spare time working hard on celestia.Sci.

Anyway, I think it would be an interesting project. Perhaps, one day, I'll do it for celestia.Sci.

Fridger

Re: Script or DOS program to import comets

Posted: 27.12.2012, 17:01
by Limax7
t00fri wrote:So if you want more comets, spent 1 day of learning Perl and write the corresponding import script. It's really not difficult and you may take my Perl scripts as guides.

Some days ago I post this :
viewtopic.php?f=6&t=15719

but make final ssc file take me to much time. So I think there is some other way to do that.

Adam

Re: Script or DOS program to import comets

Posted: 27.12.2012, 17:41
by t00fri
Limax7 wrote:
t00fri wrote:So if you want more comets, spent 1 day of learning Perl and write the corresponding import script. It's really not difficult and you may take my Perl scripts as guides.

Some days ago I post this :
viewtopic.php?f=6&t=15719

but make final ssc file take me to much time. So I think there is some other way to do that.

Adam

Yes, since the scripting program is supposed to write out the .ssc or .stc or .dsc files which just takes a few seconds.

Fridger