Converting coordinates from TEME frame to ICRF frame #723
-
I'm looking to convert data from the TEME (true equator, mean equinox) frame to the ICRF (International Celestial Reference System) frame. This data has already been converted from TLE state data into cartesian xyz position and uvw velocity in the TEME frame using the python sgp4 package. I understand that converting TEME to ICRF can be done with the skyfield package, and that historically this might be done using the TEME_to_ITRF function under skyfield/sgp4lib.py. However, that function has been deprecated in favor of the TEME and ITRS frame objects (see referenced code in image below). Unfortunately, I'm not easily finding these frame objects. If someone could point me to their location and the relevant documentation to implement this coordinate frame rotation, I'd be grateful. Thanks! P.S. Other relevant research I've done: I also know that Skyfield internally stores all position data in the ICRF frame - I find myself not knowing how to input position in TEME and get ICRF back out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good question. The conversion would follow the conventions laid out in the Coordinates document: https://rhodesmill.org/skyfield/coordinates.html The TEME frame can probably be imported like this:
Probably I should expand the Coordinates document to at least mention TEME and show where it can be imported from. |
Beta Was this translation helpful? Give feedback.
Good question. The conversion would follow the conventions laid out in the Coordinates document:
https://rhodesmill.org/skyfield/coordinates.html
The TEME frame can probably be imported like this:
Probably I should expand the Coordinates document to at least mention TEME and show where it can be imported from.