Skip to content
Snippets Groups Projects
Name Last commit Last update
bin
pics
subpts
tles
.gitignore
README.md

Satellite TLE Utils

TLEConverter

Creates a .sbpt file of the daily position of a satellite from a file of TLEs

Synopsis

TLEConverter.py [OPTIONS] SAT-NAME TLE-FILE

Description

This script will generate a .sbpt file with the following format

{satellite} {year} {day of year} {subpoint}
...

for every day in the time range of the TLE file.

The script takes in a file that contains a list of TLE (two line or three line elements). Any improperly formatted TLEs will be skipped.

Options

-o, --output=OUTPUT
Change the output of the daily subpoints, default is stdout

-m, --mode=MODE
Change the mode to open the specified output, options are w,x,wb,xb

-v, --verbose
Changes the verbosity of script

multiTLEConverter

Creates multiple .sbpt files based on all the .tle files in a directory

Synopsis

multiTLEConverter

Description

This script will prompt the user for a directory full of .tle files, then the output directory for the to-be-generated .sbpt files. Then the script will go through every .tle file in the directory and prompt the user for the same of the satellite associated with that tle. Finally, the script will generate all the .sbpt files specified by the user.

subptVisualizer

Visualizes one or more .sbpt files using matplotlib and numpy

Synopsis

subptVisualizer.py [OPTIONS]

Description

This script will create a .png image of a .sbpt file, graphing the satellites latitude through time.

Options

-l, --list=LIST Required list of the path to one or more .sbpt files

-v, --verbose Changes the verbosity of script

-o, --outdir=OUT Change the directory that the .png file is generated in, default is current directory

Dependencies

This script requires matplotlib and numpy to run.