quick install

main 0.3
Jeff Moe 2022-05-21 22:36:50 -06:00
parent 7075614eac
commit 749e666e76
2 changed files with 10 additions and 3 deletions

View File

@ -12,8 +12,15 @@ of TLEs.
![celestia-gnss-screenshot](pics/celestia-gnss-screenshot.png)
# Quick & Dirty Install
If you just want to import the pre-generated file into Celestia for
a look, just copy this file into your `extras` folder or similar.
* https://spacecruft.org/spacecruft/celestia-gnss/raw/branch/main/extras/gnss/gnss.ssc
# Install celestia-gnss
Install thusly.
Install thusly to generate your own `.ssc` files.
```
git clone https://spacecruft.org/spacecruft/celestia-gnss

View File

@ -22,12 +22,12 @@ satellites_url = 'https://celestrak.com/NORAD/elements/gnss.txt'
#satellites_url = 'https://celestrak.com/NORAD/elements/gps-ops.txt'
#satellites_url = 'https://celestrak.com/NORAD/elements/glo-ops.txt'
#satellites_url = 'https://celestrak.com/NORAD/elements/beidou.txt'
satellites = load.tle_file(satellites_url)
ts = load.timescale()
t = ts.now()
for satellite in satellites:
satellite_name=satellite.name
@ -35,7 +35,7 @@ for satellite in satellites:
satellite_radius=0.005
# Epoch XXX
#satellite_epoch=satellite.model.jdsatepoch
#satellite_epoch=satellite.model.jdsatepoch
satellite_epoch=t.tdb
# The unique satellite NORAD catalog number given in the TLE file.