GCRF ↔ ITRF Transformations¶
Transformations between Geocentric Celestial Reference Frame (GCRF, inertial) and International Terrestrial Reference Frame (ITRF, Earth-fixed). Uses IAU 2006/2000A CIO-based theory with classical angles.
Note
For conceptual explanations and examples, see GCRF ↔ ITRF Transformations in the Learn section.
GCRF to ITRF¶
state_gcrf_to_itrf builtin ¶
Transforms a state vector (position and velocity) from GCRF (Geocentric Celestial Reference Frame) to ITRF (International Terrestrial Reference Frame).
Applies the full IAU 2006/2000A transformation including bias, precession, nutation, Earth rotation, and polar motion corrections using global Earth orientation parameters. The velocity transformation accounts for the Earth's rotation rate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for the transformation | required |
x_gcrf | ndarray or list | State vector in | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: State vector in |
Example
rotation_gcrf_to_itrf builtin ¶
Computes the combined rotation matrix from GCRF (Geocentric Celestial Reference Frame) to ITRF (International Terrestrial Reference Frame). Applies corrections for bias, precession, nutation, Earth-rotation, and polar motion.
The transformation is accomplished using the IAU 2006/2000A, CIO-based theory using classical angles. The method as described in section 5.5 of the SOFA C transformation cookbook.
The function will utilize the global Earth orientation and loaded data to apply corrections for Celestial Intermediate Pole (CIP) and polar motion drift derived from empirical observations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for computation of transformation matrix | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 3x3 rotation matrix transforming |
Example
position_gcrf_to_itrf builtin ¶
Transforms a position vector from GCRF (Geocentric Celestial Reference Frame) to ITRF (International Terrestrial Reference Frame).
Applies the full IAU 2006/2000A transformation including bias, precession, nutation, Earth rotation, and polar motion corrections using global Earth orientation parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for the transformation | required |
x | ndarray or list | Position vector in | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Position vector in |
Example
ITRF to GCRF¶
state_itrf_to_gcrf builtin ¶
Transforms a state vector (position and velocity) from ITRF (International Terrestrial Reference Frame) to GCRF (Geocentric Celestial Reference Frame).
Applies the full IAU 2006/2000A transformation including bias, precession, nutation, Earth rotation, and polar motion corrections using global Earth orientation parameters. The velocity transformation accounts for the Earth's rotation rate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for the transformation | required |
x_itrf | ndarray or list | State vector in | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: State vector in |
Example
rotation_itrf_to_gcrf builtin ¶
Computes the combined rotation matrix from ITRF (International Terrestrial Reference Frame) to GCRF (Geocentric Celestial Reference Frame). Applies corrections for bias, precession, nutation, Earth-rotation, and polar motion.
The transformation is accomplished using the IAU 2006/2000A, CIO-based theory using classical angles. The method as described in section 5.5 of the SOFA C transformation cookbook.
The function will utilize the global Earth orientation and loaded data to apply corrections for Celestial Intermediate Pole (CIP) and polar motion drift derived from empirical observations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for computation of transformation matrix | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: 3x3 rotation matrix transforming |
position_itrf_to_gcrf builtin ¶
Transforms a position vector from ITRF (International Terrestrial Reference Frame) to GCRF (Geocentric Celestial Reference Frame).
Applies the full IAU 2006/2000A transformation including bias, precession, nutation, Earth rotation, and polar motion corrections using global Earth orientation parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for the transformation | required |
x | ndarray or list | Position vector in | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Position vector in |
Example
Intermediate Matrices¶
bias_precession_nutation builtin ¶
Computes the Bias-Precession-Nutation matrix transforming the GCRS to the CIRS intermediate reference frame. This transformation corrects for the bias, precession, and nutation of Celestial Intermediate Origin (CIO) with respect to inertial space.
This formulation computes the Bias-Precession-Nutation correction matrix according using a CIO based model using using the IAU 2006 precession and IAU 2000A nutation models.
The function will utilize the global Earth orientation and loaded data to apply corrections to the Celestial Intermediate Pole (CIP) derived from empirical observations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for computation of transformation matrix | required |
Returns:
| Type | Description |
|---|---|
ndarray | 3x3 rotation matrix transforming |
References
IAU SOFA Tools For Earth Attitude, Example 5.5 http://www.iausofa.org/2021_0512_C/sofa/sofa_pn_c.pdf Software Version 18, 2021-04-18
earth_rotation builtin ¶
Computes the Earth rotation matrix transforming the CIRS to the TIRS intermediate reference frame. This transformation corrects for the Earth rotation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for computation of transformation matrix | required |
Returns:
| Type | Description |
|---|---|
ndarray | 3x3 rotation matrix transforming |
polar_motion builtin ¶
Computes the Earth rotation matrix transforming the TIRS to the ITRF reference frame.
The function will utilize the global Earth orientation and loaded data to apply corrections to compute the polar motion correction based on empirical observations of polar motion drift.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
epc | Epoch | Epoch instant for computation of transformation matrix | required |
Returns:
| Type | Description |
|---|---|
ndarray | 3x3 rotation matrix transforming |
See Also¶
- ECI ↔ ECEF Transformations - Generic naming convention API
- Reference Frames Module - Complete API reference for frames module