How to install SGP4 V 1.4 package in Python 3.6

548 Views Asked by At

First post hear and relatively new coder. Trying to get this package: https://pypi.python.org/pypi/sgp4/ to work, only I have no idea what I'm doing. I'm not familiar with the file extension (.tar.gz) and I don't know if this is a module or what and how to install it and get it to work. I am using python 3.6.4 currently. Apologies that this is a pretty dumb question, but I'm trying to learn towards the goal of adding to this script so that I can build a tracking capable ground station.

Any and all help appreciated.

Thank you for your time,

Lorcan.

2

There are 2 best solutions below

1
On BEST ANSWER

Did you try using

pip install sgp4

from a terminal window? That should handle the actual download and installation for you as well as resolving any dependencies.

0
On

The SGP4 MATLAB version returns the satellite's state vector in four coordinate systems i.e. TEME, ITRS, GCRS, and TOD. The SGP4 Python version returns the satellite's state vector in three coordinate systems i.e. TEME, ITRS, and GCRS. You can use my Python version of SGP4 from the following link: https://www.researchgate.net/publication/358351066_SGP4_Python_code or you can use my MATLAB version of SGP4 from the following link: https://www.researchgate.net/publication/346217793_SGP4_MATLAB_code In the SGP4 Python version, it is mentioned which packages you need to install and how to install them.