convert_position
Convert a 3D position vector between coordinate frames including GEODETIC, ECEF, GEOCENTRIC, ECI, GCRF, ITRF, and EME2000. Supports epoch for time-dependent conversions.
Instructions
Convert a 3-element position vector between coordinate frames.
Supported conversions: GEODETIC<->ECEF, GEOCENTRIC<->ECEF, GEODETIC<->GEOCENTRIC, ECI<->ECEF (requires epoch), GCRF<->ITRF (requires epoch), GCRF<->EME2000.
Args: vector: 3-element position vector [x, y, z] or [lon, lat, alt] etc. from_frame: Source frame (ECEF, GEODETIC, GEOCENTRIC, ECI, GCRF, ITRF, EME2000). to_frame: Target frame (same set). angle_format: "degrees" (default) or "radians" for geodetic/geocentric angles. epoch: ISO epoch string, required for ECI<->ECEF and GCRF<->ITRF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch | No | ||
| vector | Yes | ||
| to_frame | Yes | ||
| from_frame | Yes | ||
| angle_format | No | degrees |