'Does the pyorbital.get_position function output position vectors in the ECEF or ECI frame?

The documentation for this function surprisingly doesn't mention the coordinate frame. Does anyone know which it is? Thanks! https://pyorbital.readthedocs.io/en/latest/#pyorbital.orbital.Orbital.get_position



Solution 1:[1]

I took a quick peek at the source code at https://github.com/pytroll/pyorbital/blob/main/pyorbital/orbital.py. They are just using the output from SGP4, so the coordinate frame is going to be TEME of Date. It also looks like they have their own implementation of SGP4. I can't tell at a glance whether it includes the various tweaks that Vallado et. al. had implemented to get the open source version to more closely match the "official" version (see https://celestrak.com/publications/AIAA/2006-6753/AIAA-2006-6753.pdf).

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tom Johnson