Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:info:lsubs

This is an old revision of the document!


Adjustment to Mars Clocks

Martian clock showing time at the prime meridian The Martian clocks (keeping Martian time) on the Mars Weather page also display the Ls (pron. ell-sub-ess) - a way of describing where the planet is in its orbit, and the displacement of the sun in the sky at midday. I noticed the value for this was out by some distance, and after pondering the problem (and the code) for a while, the penny dropped.

Unfortunately, the code was still generating a value that was out by 1/100th of a degree, which isn't much but it bothered me. It turned out to be due to a rounding issue, so I fixed that. Ls is now displayed to two unrounded decimal places, with the same value shown to three decimal places for those that find this interesting or important. The two-decimal value is the primary because it then matches the value generated by Mar24, a program available from the Goddard Institute for Space Studies, a branch of NASA.

For Earth, Ls advances approximately one degree per day (~0.9863°), but for Mars with its more eccentric orbit, things don't work out quite so neatly. Some Martian months are as short as 46 sols, while others are as long as 67 sols, so months are not determined by dividing the sols per year by 12. A new month begins when the planet reaches an increment of 30° around its orbit. Since Ls determines where in the orbit it is, it is the only viable way of determining what the current month is.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
blog/articles/info/lsubs.1591454071.txt.gz · Last modified: 2020/06/06 14:34 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki