propagate_from_gp_record
Propagate satellite orbit using a GP record from Celestrak or SpaceTrack queries. Choose SGP4, Keplerian, or numerical propagation for single or range epochs.
Instructions
Propagate from a GP record dict (from celestrak/spacetrack query tools).
Bridges GP data queries directly into propagation. For SGP4, uses the OMM elements directly (avoiding TLE precision loss). For Keplerian/Numerical, converts OMM elements to an ECI state.
Args: gp_record: Dict from get_celestrak_gp or query_spacetrack_gp tools. propagator_type: "sgp4" (default), "keplerian", or "numerical". target_epoch: Single target epoch (ISO string). start_epoch: Range start epoch (ISO string). end_epoch: Range end epoch (ISO string). step_seconds: Step size in seconds for range propagation (default 60). output_frame: Output coordinate frame (eci, ecef, gcrf, itrf, eme2000, koe_osc, koe_mean). angle_format: Angle format for KOE output ("degrees" or "radians"). force_model: Force model preset for numerical propagation (default "default"). spacecraft_params: [mass_kg, drag_area_m2, Cd, srp_area_m2, Cr] for numerical propagation. gravity_degree: Override gravity degree (numerical only). gravity_order: Override gravity order (numerical only). drag_model: Override drag model (numerical only). enable_srp: Override SRP toggle (numerical only). enable_third_body: Override third-body toggle (numerical only). enable_relativity: Override relativity toggle (numerical only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_epoch | No | ||
| gp_record | Yes | ||
| drag_model | No | ||
| enable_srp | No | ||
| force_model | No | default | |
| start_epoch | No | ||
| angle_format | No | degrees | |
| output_frame | No | eci | |
| step_seconds | No | ||
| target_epoch | No | ||
| gravity_order | No | ||
| gravity_degree | No | ||
| propagator_type | No | sgp4 | |
| enable_relativity | No | ||
| enable_third_body | No | ||
| spacecraft_params | No |