license, cleanup, thread

main
Jeff Moe 2022-05-22 12:16:00 -06:00
parent 749e666e76
commit 17dcf44de6
4 changed files with 30 additions and 8 deletions

View File

@ -70,9 +70,14 @@ Upstream Celestia:
* https://github.com/CelestiaProject/Celestia
Celestia forum thread about celestia-gnss:
* https://celestia.space/forum/viewtopic.php?f=6&t=22559
## TLE Conversion
TLE Conversion Spreadsheet by Grant Hutchison from July 2003.
TLE Conversion Spreadsheet by Grant Hutchison from July 2003,
the basis for the formulas in the `tle2ssc` script.
* https://www.classe.cornell.edu/~seb/celestia/hutchison/spreadsheets.html
@ -120,9 +125,11 @@ Example `.ssc` file contents:
}
```
## TLE Sources
GNSS (All)
* https://celestrak.com/NORAD/elements/gnss.txt
Beidou (China)
* https://celestrak.com/NORAD/elements/beidou.txt
@ -132,9 +139,6 @@ Galileo (Europe)
Glonass (Russia)
* https://celestrak.com/NORAD/elements/glo-ops.txt
GNSS (All)
* https://celestrak.com/NORAD/elements/gnss.txt
GPS (USA)
* https://celestrak.com/NORAD/elements/gps-ops.txt

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

24
tle2ssc
View File

@ -1,7 +1,25 @@
#!/usr/bin/python3
# tle2ssc
# Convert a TLE into an .ssc file for Celestia
#
"""
tle2ssc
Convert TLE orbit to Solar System Catalog (SSC) format for Celestia.
Copyright (C) 2022, Jeff Moe, jebba.
Authors: Jeff Moe
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
# Usage:
# tle2ssc
# Example: