Documentation / @interstellar-tools/equations / greenwichMeanSiderealTime
Function: greenwichMeanSiderealTime()
ts
function greenwichMeanSiderealTime(date: Date): Radians;Defined in: cartography/earth-rotation.ts:116
Compute Greenwich mean sidereal time (GMST) with the IAU 1982 model: the angle from the mean equinox of date to the Greenwich meridian, as the 1982 standard defines it.
Where:
is the number of Julian centuries of UT1 since J2000.0 is the time of day in UT1 (s); a day of time is 2π
Units
- Input: a
Date. - Output:
in radians, in [0, 2π).
Notes
- This is the angle SGP4's TEME frame uses. To rotate an SGP4 position into Earth-fixed coordinates, turn it by GMST about the z axis (Vallado et al. 2006). Newer IAU 2000 work uses earthRotationAngle instead.
- UT1 is taken as UTC, as in earthRotationAngle.
Parameters
| Parameter | Type | Description |
|---|---|---|
date | Date | The moment, as a Date. |
Returns
Greenwich mean sidereal time
Throws
If date is not a valid Date.
Example
ts
// Vallado, Example 3-5: 1992-08-20 12:14 UT1
greenwichMeanSiderealTime(new Date('1992-08-20T12:14:00Z')); // ≈ 2.663 rad, 152.58°See
- earthRotationAngle
- localSiderealTime
- https://celestrak.org/publications/AIAA/2006-6753/ Vallado et al. (2006), Revisiting Spacetrack Report #3