MJD2TT

From DavinciWiki
Jump to: navigation, search

Description

Convert input UTC Modified Julian Date (in days) to TT Modified Julian Date by adding TT-UTC offset (accounts for leap seconds)

Arguments and Return Values

Parameters: Numeric array specifying the UTC Modified Julian Dates to convert to TT Modified Julian Dates

Return Value: The corresponding set of TT Modified Julian Dates

Usage

Syntax: MJD2TT(MJD)

The Modified Julian Date is a continuous count of days since midnight UTC at the beginning of November 17, 1858 (in the Gregorian calendar).

Coordinated Universal Time (UTC) is the basis for the time system used in everyday life. In order to keep UTC consistent with the Earth's slightly variable rate of rotation, leap seconds are occasionally inserted into UTC. Terrestrial Time (TT) is a time system with no leap seconds.

Returns double-precision Modified Julian Dates in Terrestrial Time. The returned values are as accurate as the input, although that accuracy may be further limited by uncertainty in Delta-T. See the function DeltaT for details.

For more information, see http://heasarc.gsfc.nasa.gov/docs/xte/abc/time_tutorial.html and http://www.giss.nasa.gov/tools/mars24/help/algorithm.html.

When MJD2TT() is entered without any arguments, it prints its description, as shown below.

Examples

dv> MJD2TT()

Convert input UTC Modified Julian Date (in days) to TT MJD
 by adding TT-UTC offset (accounts for leap seconds)
Works for array inputs
Returns double-precision Modified Julian Date in Terrestrial Time
 The returned values are as accurate as the input, although that
 accuracy may be further limited by uncertainty in Delta-T. See
 the function DeltaT for details.
See http://www.giss.nasa.gov/tools/mars24/help/algorithm.html
S.Marshall 04-13-2009

0
dv> a = MJD(2000, 1, 1, 12, 0, 0)
51544.5000000000
dv> MJD2TT(a)
51544.5007428704

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Recent Library Changes

Created On: 11-18-2009
Modified On: 05-07-2010

Personal tools