transform_frames
Transform coordinate data between reference frames (ECEF, ECI, ITRF, GCRS, GEODETIC) with optional epoch for time-dependent conversions.
Instructions
Transform coordinates between reference frames (ECEF, ECI, ITRF, GCRS, GEODETIC).
Args: coordinates: Dict with coordinate data (format depends on frame) from_frame: Source reference frame to_frame: Target reference frame epoch_utc: Optional epoch for time-dependent transformations (ISO format)
Returns: JSON string with transformed coordinates in the target frame.
Raises: No exceptions are raised directly; errors are returned as formatted strings. ImportError is caught when required frame transformation packages are missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordinates | Yes | ||
| from_frame | Yes | ||
| to_frame | Yes | ||
| epoch_utc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |