Martin Tithonium (tithonium) wrote,
Martin Tithonium
tithonium

Someone, somewhere, must have a formula into which I can plug the following values:

* Radius of the planet
* Rotational Inclination of the planet to its orbit
* Major and Minor orbital radii, or average and eccentricity
* Longitude of a point on the planet
* A known Zero-time point for solar noon
* The known zero-point in the orbital path at the known zero-time point
* An arbitrary time to calculate for, in units since/until the zero point


And get back

* Current altitude of sun in the sky

I'm probably missing an input or two. Anyway, I want to be able to compute, with a reasonable degree of accuracy (eg, "looks right" as opposed to "can set clocks or navigte by it"), where the sun is in the sky for any point on the surface of any planet. In particular earth and mars, as I want to be able to 'accurately' change something to reflect current dawn/day/twilight/night illumination for, say seattle or lomonosov crater, without resorting to doing based on the hour of the day, which is horribly inaccurate from one end of the year to the other.
Tags: lazyweb
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 15 comments