Skip to content
jamescoledesignPublic

About

Text User Interface (TUI) for tracking satellites in a terminal window

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

sat-track

A Text User Interface (TUI) for tracking satellites in a terminal window. Save your latitude and longitude in a .env file and run python sattrack.py to see the satellite's approximate position relative to your location.

Cartesian coordinates are provided to aid in positioning a radio telescope. Approximate stellite locations are calculated using two-line elements (TLEs) and Skyfield.

Note: I have not been able to determine if the tracking is accurate, so please let me know if you have any success using this tool.

Setup

Open the directory in a terminal, ceate a new venv, and install the packages.

If using Linux, install python3.12-venv if not already installed

sudo apt install python3.12-venv

Make venv (Linux)

sudo python3 -m venv satenv --system-site-packages
source satenv/bin/activate

Make venv (Mac, etc.)

python3 -m venv satenv
source satenv/bin/activate

Install requirements

pip install -r requirements.txt

Run the program

python sattrack.py 

Make a .env file in the root directory

touch .env

Open the .env file and add your latitude and longitude as environmental variables. Save and close the file.

Example:

LOCATION_LATITUDE=54.321
LOCATION_LONGITUDE=-76.543

Telescope positioning

  • Facing north, rotate clockwise towards the target azimuth (X)
  • At the target azimuth, tilt the telescope up towards the target altitude (Y)

Note:

  • Be sure to update the TLEs in satellites.csv every few months

User Interface

About

Text User Interface (TUI) for tracking satellites in a terminal window

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages