Template:Age in sols

From Nordic Larp Wiki
Revision as of 01:27, 29 November 2018 by en>Zzuuzz (Protected "Template:Age in sols": High risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

This template returns the number of sols, or Mars solar days, between two Earth dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. It is based on the product of the count of Earth days past and the ratio of the length of Earth's solar day length (86400 seconds) with a Mars solar day (88775.24409 seconds), rounded to the nearest sol. That ratio comes from technical notes on time keeping on Mars from NASA's Goddard Spaceflight Center.[1]

To use, type:

{{age in sols|month1= |day1= |year1= |month2= |day2= | year2=}}

Or with unnamed parameters:

{{age in sols|year1|month1|day1|year2|month2|day2}} displays sols between two Earth dates

or

{{age in sols|year1|month1|day1}} displays sols since a given Earth date

Examples:

  • {{age in sols|2004|01|04|2010|03|22}} gives 2208 sols that Spirit rover was operational on Mars
  • {{age in sols|2012|8|6}} gives 4372 sols since the Mars Science Laboratory landed on Mars

This template was created for use on Mars mission pages, NASA ones in particular, which identify mission milestones based on the mission sol which begins with sol 0 on the landing date for rover and landers and the orbital insertion date for orbiters. Examples include:

This template is useful for converting any span of Earth days into the appropriate number of sols with precision of ~ +/- 1 sol due because it rounds to the nearest sol.

See also

References

  1. Allison, Michael; Robert Schmunk. "Technical Notes on Mars Solar Time as Adopted by the Mars24 Sunclock". Goddard Spaceflight Center. Retrieved 17 November 2012.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>