Skip to content
/ ISS Public

A tracker for the International Space Station (ISS) in PyGame

Notifications You must be signed in to change notification settings

mdoege/ISS

Repository files navigation

A tracker for the International Space Station in PyGame

The zoomed-in map on the left roughly corresponds to the downward NASA video feed. Note that the video feed lags a little behind the live map.

There are two different versions:

  • iss.py only requires PyGame and uses a web service to obtain the current location of ISS every 10 seconds, so constant Internet connectivity is needed. The past track for about the last 15 minutes is also shown as the program slowly accumulates position data.

  • iss2.py needs Skyfield to calcuate ISS position and shows the track 90 minutes into the past (red) and future (yellow). The Internet is only needed when the program starts and fetches orbital elements for today which are then saved in stations.txt.

The place name database used for cities.png is from Natural Earth. The font is Bit 5x3.

Finally, there are two Matplotlib ISS plot scripts: map.py for Basemap and map2.py for Cartopy. The position is shown at 20-second intervals over the next two hours.

iss2.py: screenshot

iss.py: screenshot