Convert TLE info into SSC

General discussion about Celestia that doesn't fit into other forums.
Topic author
PGarci
Posts: 1
Joined: 01.02.2003
With us: 21 years 7 months

Convert TLE info into SSC

Post #1by PGarci » 01.02.2003, 01:47

Hi
I am a new user and I want to display Satellites. I have information about them in TLE format. Is it possible to convert to SSC format or similar?

Thanks.

Pedro

Ortolan
Posts: 120
Joined: 31.03.2002
With us: 22 years 5 months
Location: Melbourne, Australia

Post #2by Ortolan » 01.02.2003, 06:59

I hacked together a perl script a while back to do this:
http://www.skullcave.com/celestia/tle2ssc.pl
Open it up in a text program to see how it works and edit it as needed. You need Perl installed to run the script, of course. :D

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Post #3by chris » 07.02.2003, 03:56

Ortolan wrote:I hacked together a perl script a while back to do this:
http://www.skullcave.com/celestia/tle2ssc.pl
Open it up in a text program to see how it works and edit it as needed. You need Perl installed to run the script, of course. :D

I tried to download the Perl script, but your web server complained that access to the document was forbidden. There was no trouble getting the .ssc files. Is the server doing some special handling of .pl files? Perhaps they should be renamed to *.pl.txt or something.

I'm interested in possibly supporting TLE files as a new orbit type. I noticed that on celestrak.com, there are sets of TLEs available for most of the shuttle missions. It'd be great to turn these into a Celestia add-on that recreates almost every space shuttle mission.

--Chris

Ortolan
Posts: 120
Joined: 31.03.2002
With us: 22 years 5 months
Location: Melbourne, Australia

Post #4by Ortolan » 07.02.2003, 06:46

Thanks for letting me know about the perl files. The files are served from a hosting company so unfortunately I don't have total control over the server settings. I could probably solve the issue through .htaccess files somehow but in the meantime I've renamed the .pl files to .pl.txt as you suggested. :D

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 8 months
Location: Seattle, Washington, USA

Post #5by chris » 08.02.2003, 03:25

Ortolan wrote:Thanks for letting me know about the perl files. The files are served from a hosting company so unfortunately I don't have total control over the server settings. I could probably solve the issue through .htaccess files somehow but in the meantime I've renamed the .pl files to .pl.txt as you suggested. :D

Even the renamed files are not accessible . . . Are the permissions wrong, perhaps?

--Chris

Ortolan
Posts: 120
Joined: 31.03.2002
With us: 22 years 5 months
Location: Melbourne, Australia

Post #6by Ortolan » 08.02.2003, 11:54

Well that's weird, the permissions are all ok, the server must be using some funky extension detection or something. :? Renamed them to .perlscript and they seem to download fine now.

tonypro2
Posts: 3
Joined: 07.02.2003
With us: 21 years 7 months

ISS using tle2ssc

Post #7by tonypro2 » 08.02.2003, 15:07

I used the tle2ssc script and tried out the ISS coordinates published by NASA. They still seem to be a bit off, about 12 minutes or so. Is something wrong with the script, or more probably, I guess with something in such a fast orbit, Celestia will never be able to model it accurately.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 6 months
Location: Hamburg, Germany

ISS using tle2ssc

Post #8by t00fri » 08.02.2003, 15:55

tonypro2 wrote:I used the tle2ssc script and tried out the ISS coordinates published by NASA. They still seem to be a bit off, about 12 minutes or so. Is something wrong with the script, or more probably, I guess with something in such a fast orbit, Celestia will never be able to model it accurately.


Incidentally, that's how this is solved in XEphem: just one click

Image

Perhaps one day, we will get around to something similar in Celestia...

Bye Fridger


Return to “Celestia Users”