compute_access_from_gp
Compute satellite access windows for a ground location using a GP record from Celestrak or Space-Track. Specify search period, constraints, and propagator type to determine visibility intervals.
Instructions
Compute access windows from a GP record (from celestrak/spacetrack tools).
Convenience wrapper that creates a satellite spec from a GP record dict and delegates to compute_access(). This is the most common workflow: fetch GP data with get_celestrak_gp() or query_spacetrack_gp(), then compute accesses.
Args: gp_record: GP record dict from get_celestrak_gp or query_spacetrack_gp tools. location: Ground location dict with lon, lat, and optional altitude_m/name. search_start: Start of search window (ISO epoch string). search_end: End of search window (ISO epoch string). propagator_type: Propagator to use: "sgp4" (default), "keplerian", or "numerical". constraints: List of constraint spec dicts. Each needs a "type" key. constraint_logic: How to combine constraints: "all" (AND) or "any" (OR). min_elevation_deg: Convenience shortcut to add an elevation constraint. force_model: Force model preset for numerical propagation (e.g. "two_body", "leo_default"). spacecraft_params: [mass_kg, drag_area_m2, Cd, srp_area_m2, Cr] for numerical propagation. property_computers: List of property computer specs (e.g. [{"type": "range"}]). config: Optional AccessSearchConfig overrides dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| location | Yes | ||
| gp_record | Yes | ||
| search_end | Yes | ||
| constraints | No | ||
| force_model | No | ||
| search_start | Yes | ||
| propagator_type | No | sgp4 | |
| constraint_logic | No | all | |
| min_elevation_deg | No | ||
| spacecraft_params | No | ||
| property_computers | No |