src.api.services.ephemeris_service module
- src.api.services.ephemeris_service._get_closest_orbital_data(tle_repo: AbstractTLERepository, orbital_elements_repo: AbstractOrbitalElementsRepository, identifier: str, identifier_type: str, request_time: Time, data_source: str) TLE | OrbitalElements | None[source]
Return the closest TLE or orbital elements record for the request epoch.
- src.api.services.ephemeris_service.generate_ephemeris_data(sat_repo: AbstractSatelliteRepository, tle_repo: AbstractTLERepository, orbital_elements_repo: AbstractOrbitalElementsRepository, identifier: str, identifier_type: str, location: EarthLocation, dates: list[Time], min_altitude: float, max_altitude: float, api_source: str, api_version: str, data_source: str = '', propagation_method: str = 'skyfield') dict[str, Any] | list[dict[str, Any]][source]