Small python project utilizing the Skyfield python libraries to pull two-line elements (TLEs) from the Celestrak site, calculate satellite(s) orbit and next position, and write that data to an Elasticsearch index for further processing.
This project creates a Satellite object for every TLE returned by Celestrak. This object initializes variables containing information about the satellite (speed, elevation, coverage footprint, etc), and provides methods to return those variables. The load_satellites.py manages the call to Celestrak, creates the Satellite objects, and inserts the data into Elasticsearch.
The Skyfield python library can be installed using pip:
pip install skyfield
Additionally, you'll need to create an API key in elasticsearch that has the ability to modify the satellites index.