hamsci_psws.geopack.geodToGeocAzEl¶
- hamsci_psws.geopack.geodToGeocAzEl(lat, lon, az, el, inverse=False)[source]¶
Converts azimuth and elevation from geodetic to geocentric (and vice-versa)
Converts pointing azimuth and elevation measured with respect to the local horizon to azimuth and elevation with respect to the horizon defined by the plane perpendicular to the Earth-centered radial vector drawn through a user defined point.
- Parameters
lat (float) – latitude [degree]
lon (float) – longitude [degree]
az (float) – azimuth [degree, N]
el (float) – elevation [degree]
inverse (Optional[bool]) – inverse conversion
- Returns
lat (float) – latitude [degree]
lon (float) – longitude [degree]
Re (float) – Earth radius [km]
az (float) – azimuth [degree, N]
el (float) – elevation [degree]