groundTrack

ssapy.compute.groundTrack(orbit, time, propagator=KeplerianPropagator(), format='geodetic')[source][source]

Calculate satellite ground track on the outer product of all supplied times and state vectors or orbits.

Parameters:
  • r (array_like (n,3) Position (m)) –

  • time (array_like or astropy.time.Time (m,)) – If float (array), then should correspond to GPS seconds; i.e., seconds since 1980-01-06 00:00:00 UTC

  • or

  • orbit (r : array_like (n,3) Position (m) or) – Orbit or list of Orbit (n,) Desired orbit(s)

  • propagator (Propagator, optional) – The propagator instance to use.

  • format ('geodetic' or 'cartesian') – If ‘geodetic’, then returns longitude, latitude, height. If ‘cartesian’, then returns xyz in ITRF frame.

Notes

If orbit or time is scalar valued (as opposed to a list of Orbit, e.g.) then the corresponding dimension of the output will be squeezed out.

For Keplerian orbit propagation it is more efficient to use a “vector Orbit” instead of a list of single scalar Orbits.

Returns:

  • lon, lat, height (array_like (n, m, 3)) – Radians and meters.

  • or

  • x, y, z (array_like(n, m, 3)) – Meters.