pythonskyfield

How to find Planet Position using skyfield


I want to find planet position using skyfield in the form of Ecliptic longitude,latitude, speed and distance in geocentric


Solution

  • You will probably want to go ahead and read the Skyfield documentation — have you made it very far yet, or are you still at the beginning? One of its earliest sections is its Examples:

    https://rhodesmill.org/skyfield/examples.html

    By searching that web page for concepts you are interested in, you can sometimes skip reading the full documentation — for example, try searching for the phrase “ecliptic longitude” and you’ll find an example where it’s computed for the Moon.