/jsMarsTime

Mars time conversion functions

Primary LanguageJavaScript

MarsTime library

Christopher Lee, Ashima Research, 2011-

This package implements the Mars24 algorithm in javascript based on the Allison and McEwen (2000) paper. Details can be found at http://www.giss.nasa.gov/tools/mars24/ . The Javascript library is contained entirely in the marstime.js file. A simple application is given in marstimeapp.js to calculate Mars rover times, and test code is tests.js and tests.html to run some basic tests on the library to compare with known data.

License

The library is available under the Modified BSD license. Please retain the references to the algorithm papers by Allison and McEwen (2000) and Allison (1997). Publications using the algorithm should reference those papers where appropriate.

References

Allison and McEwen (2000) : A post-Pathfinder evaluation of areocentric solar coordinates with improved timing recipes for Mars seasonal/diurnal climate studies. Planet. Space Sci. 48, 215-235. doi:10.1016/S0032-0633(99)00092-6
Allison (1997) : Accurate analytic representations of solar time and seasons on Mars with applications to the Pathfinder/Surveyor missions. Geophys. Res. Lett., 24, 1967-1970, doi:10.1029/97GL01950.