2

I don't know if this question should be here, if it shouldn't just let me know.

My question is, I'm programming in Java and I want to get the actual stats of the planet, like orbit ,actual temperature etc... Is there any method, package in any language that makes this?

1 Answers1

3

This seems like something that would best be provided by a simple data table which you can open as needed rather than as a feature of the language. There's one at https://nssdc.gsfc.nasa.gov/planetary/factsheet/ that has the basic statistics for the planets (plus Pluto); is that the sort of thing you're after?

  • yeah, that's going to be a lot usefull, but I meant, there is anything like in real time(p.ex: orbit position of neptune, distance to the earth at the moment)? Thanks for your answer, I will use it for sure – Alberto Martínez May 03 '18 at 23:55
  • @AlbertoMartínez If you search this SE site and Space Exploration SE for the terms "Horizons", "Spice", "Skyfield", "PyEphem" you'll find all kinds of goodies about orbital motion. But real time temperatures of planets will be Weather.com for Earth and nothing for the rest. – uhoh May 04 '18 at 09:01
  • You can get the position on the sky in python from astropy.coordinates. You'd need to do some trig to get distance to the earth. – Silenced Temporarily May 04 '18 at 12:41