Gregorian calendar to Julian date.
Parameters: |
|
---|---|
Returns: | a tuple of two items:
|
Raises: | ValueError if one of the supplied values is out of its allowed range. |
See also
SOFA manual.pdf page 52
Format for output a 2-part Julian Date.
Parameters: |
|
---|---|
Returns: | a tuple of 7 items:
|
Raises: | ValueError if the date is outside the range of valid values handled by this function. UserWarning if scale is “UTC” and the value predates the introduction of the timescale or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 56
Calculate delta(AT) = TAI - UTC for a given UTC date.
Parameters: |
|
---|---|
Returns: | deltat (TAI-UTC) in seconds as a float. |
Raises: | ValueError if iy, im, id or fd are not in valid ranges. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 59
Approximation of TDB - TT, the difference between barycentric dynamical time and terrestrial time, for an observer on Earth.
Parameters: |
|
---|---|
Returns: | TDB - TT in seconds (float) |
See also
SOFA manual.pdf page 61
Encode date and time fields into a two-part Julian Date.
Parameters: |
|
---|---|
Returns: | the two-part Julian Date as a tuple of floats. |
Raises: | ValueError if supplied values for iy, im, etc. are outside their valid range. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 64
Julian date to Besselian epoch.
Parameter: | dj1, dj2 – two-part Julian date. |
---|---|
Returns: | Besselian epoch (float). |
See also
SOFA manual.pdf page 75
Besselian epoch to Julian date.
Parameter: | epb (float) – Besselian epoch. |
---|---|
Returns: | a tuple of two items:
|
See also
SOFA manual.pdf page 76
Julian date to Julian epoch.
Parameter: | dj1, dj2 (float) – two-part Julian date. |
---|---|
Returns: | Julian epoch (float) |
See also
SOFA manual.pdf page 77
Julian epoch to Julian date.
Parameter: | epj (float) – Julian epoch. |
---|---|
Returns: | a tuple of two items:
|
See also
SOFA manual.pdf page 78
Julian date to Gregorian year, month, day and fraction of day.
Parameter: | dj1, dj2 (float) – two-part Julian date. |
---|---|
Returns: | a tuple of five values:
|
Raises: | ValueError if input date is outside valid range. |
See also
SOFA manual.pdf page 123
Julian date to Gregorian calendar, expressed in a form convenient for formatting messages: rounded to a specified precision.
Parameters: |
|
---|---|
Returns: | a 4-tuple containing year, month, day, fraction of day. |
Raises: | ValueError if date is outside the valid range. |
See also
SOFA manual.pdf page 124
Timescale transformation: International Atomic Time (TAI) to Terrestrial Time (TT).
Parameter: | tai1, tai2 (float) – TAI as a two-part Julian Date. |
---|---|
Returns: | TT as a two-part Julian Date. |
See also
SOFA manual.pdf page 224
Timescale transformation: International Atomic Time (TAI) to Universal Time (UT1).
Parameters: |
|
---|---|
Returns: | UT1 as a two-part Julian Date. |
See also
SOFA manual.pdf page 225
Timescale transformation: International Atomic Time (TAI) to Coordinated Universal Time (UTC).
Parameter: | tai1, tai2 (float) – TAI as a two-part Julian Date. |
---|---|
Returns: | UTC as a two-part Julian Date. |
Raises: | ValueError if the date is outside the range of valid values handled by this function. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 226
Timescale transformation: Barycentric Coordinate Time (TCB) to Barycentric Dynamical Time (TDB).
Parameter: | tcb1, tcb2 (float) – TCB as a two-part Julian Date. |
---|---|
Returns: | TDB as a two-part Julian Date. |
See also
SOFA manual.pdf page 227
Timescale transformation: Geocentric Coordinate Time (TCG) to Terrestrial Time (TT).
Parameter: | tcg1, tcg2 (float) – TCG as a two-part Julian Date. |
---|---|
Returns: | TT as a two-part Julian Date. |
See also
SOFA manual.pdf page 228
Timescale transformation: Barycentric Dynamical Time (TDB) to Barycentric Coordinate Time (TCB).
Parameter: | tdb1, tdb2 (float) – TDB as a two-part Julian Date. |
---|---|
Returns: | TCB as a two-part Julian Date. |
See also
SOFA manual.pdf page 229
Timescale transformation: Barycentric Dynamical Time (TDB) to Terrestrial Time (TT).
Parameters: |
|
---|---|
Returns: | TT as a two-part Julian Date. |
See also
SOFA manual.pdf page 230
Timescale transformation: Terrestrial Time (TT) to International Atomic Time (TAI).
Parameter: | tt1, tt2 (float) – TT as a two-part Julian Date. |
---|---|
Returns: | TAI as a two-part Julian Date. |
See also
SOFA manual.pdf page 236
Timescale transformation: Terrestrial Time (TT) to Geocentric Coordinate Time (TCG).
Parameter: | tt1, tt2 (float) – TT as a two-part Julian Date. |
---|---|
Returns: | TCG as a two-part Julian Date. |
See also
SOFA manual.pdf page 237
Timescale transformation: Terrestrial Time (TT) to Barycentric Dynamical Time (TDB)
Parameters: |
|
---|---|
Returns: | TDB as a two-part Julian Date. |
See also
SOFA manual.pdf page 238
Timescale transformation: Terrestrial Time (TT) to Universal Time (UT1).
Parameters: |
|
---|---|
Returns: | UT1 as a two-part Julian Date. |
See also
SOFA manual.pdf page 239
Timescale transformation: Universal Time (UT1) to International Atomic Time (TAI).
Parameters: |
|
---|---|
Returns: | TAI as a two-part Julian Date |
See also
SOFA manual.pdf page 240
Timescale transformation: Universal Time (UT1) to Terrestrial Time (TT).
Parameters: |
|
---|---|
Returns: | TT as a two-part Julian Date. |
See also
SOFA manual.pdf page 241
Timescale transformation: Universal Time (UT1) to Coordinated Universal Time (UTC)
Parameters: |
|
---|---|
Returns: | UTC as a two-part Julian Date. |
Raises: | ValueError if the date is outside the range of valid values handled by this function. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 242
Timescale transformation: Coordinated Universal Time (UTC) to International Atomic Time (TAI).
Parameter: | utc1, utc2 (float) – UTC as a two-part Julian Date. |
---|---|
Returns: | TAI as a two-part Julian Date. |
Raises: | ValueError if the date is outside the range of valid values handled by this function. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 243
Timescale transformation: Coordinated Universal Time (UTC) to Universal Time (UT1)
Parameters: |
|
---|---|
Returns: | UT1 as a two-part Julian Date. |
Raises: | ValueError if the date is outside the range of valid values handled by this function. UserWarning if the value predates the introduction of UTC or is too far in the future to be trusted. |
See also
SOFA manual.pdf page 244