SatelliteObserver#

class pycraf.satellite.SatelliteObserver(obs_location)[source]#

Bases: object

Calculate position of a satellite relative to an observer on Earth.

Parameters:
obs_locationEarthLocation or tuple

Location of observer.

This must be in a form that can be casted to EarthLocation.

Returns:
sat_obsSatelliteObserver instance

Methods Summary

azel_from_sat(satellite_or_tle, obstime)

Parameters:

Methods Documentation

azel_from_sat(satellite_or_tle, obstime)[source]#
Parameters:
satellite_or_tlesgp4.io.Satellite instance or TLE 3-line str

Satellite object or TLE

obstimeTime

Time of observation

Returns:
az, elndarray or float

Azimuth/elevation of satellite w.r.t. observer [deg]

distndarray or float

Distance to satellite [km]

Notes

If satellite is provided as TLE string, it must be of the form:

ISS (ZARYA)
1 25544U 98067A   13165.59097222  .00004759  00000-0  88814-4 0    47
2 25544  51.6478 121.2152 0011003  68.5125 263.9959 15.50783143834295