4
$\begingroup$

I'm currently trying to write a program that can calculate orbital trajectories. The goal is to take any orbital state vector (position, velocity) and convert it into Keplerian orbital elements, or convert Keplerian elements into an orbital state vector.

I would like to test out if my code works by getting examples of orbital state vectors and their corresponding Keplerian elements, so that I can plug them into my program to check if the output matches the correct output. However, I can't seem to find any examples of orbital state vectors and their corresponding Keplerian elements, after browsing the web I can only find descriptions of what orbital state vectors are with no examples.

$\endgroup$
1

2 Answers 2

4
$\begingroup$

JPL's Horizons web interface is a great place to do this. See this answer for a detailed explanation of how to do it.

For planets and the Moon, you can use a little Python with the nifty Skyfield package locally. It loads the JPL ephemerides to your computer locally, and does roughly the same thing as Horizons does, interpolates to your requested time points.

$\endgroup$
2
$\begingroup$

Here's an example for you.

State vectors on the left, orbital parameters on the right.

This is an old hardcopy from the Shuttle Mission Simulator.

enter image description here

I don't know a general answer.

$\endgroup$
4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.