date.julian2ls
— Conversion from Julian to LsubS¶
The date.julian2ls
module provides functionality for the conversion between Julian date and LsubS
New in version 0.1.0.
- plio.date.julian2ls.julian2ls(date, marsyear=None, reverse=False)[source]¶
Original IDL from Hugh Keiffer
- Parameters:
date (numeric) – Scalar or NumPy ndarray or dates
marsyear (float) – Mars year for use in reverse
reverse (bool) – Reverse conversion from L_{s} to julian
- Returns:
out (numeric) – float or array of float LsubS or Julian dates
myn (float) – If LsubS to Mars year, return the Mars year
References
[1] M. Allison and M. McEwen.’ A post-Pathfinder evaluation of areocentric solar coordinates with improved timing recipes for Mars seasonal/diurnal climate studies’. Plan. Space Sci., 2000, v=48, pages = {215-235},
[2] http://www.giss.nasa.gov/tools/mars24/help/algorithm.html