hamsci_psws.geopack.calcDistPnt

hamsci_psws.geopack.calcDistPnt(origLat, origLon, origAlt, dist=None, el=None, az=None, distLat=None, distLon=None, distAlt=None)[source]

Calculates the coordinates or distance,elevation,azimuth of a point given a point of origin and distance,elevation,azimuth or distant point coordinates

Calculate:
  • the coordinates and altitude of a distant point given a point of origin, distance, azimuth and elevation, or

  • the coordinates and distance of a distant point given a point of origin, altitude, azimuth and elevation, or

  • the distance, azimuth and elevation between a point of origin and a distant point or

  • the distance, azimuth between a point of origin and a distant point and the altitude of said distant point given a point of origin, distant point and elevation angle.

Input/output is in geodetic coordinates, distances are in km and angles in degrees.

Parameters
  • origLat (float) – geographic latitude of point of origin [degree]

  • origLon (float) – geographic longitude of point of origin [degree]

  • origAlt (float) – altitude of point of origin [km]

  • dist (Optional[float]) – distance to point [km]

  • el (Optional[float]) – azimuth [degree]

  • az (Optional[float]) – elevation [degree]

  • distLat (Optional[float]) – latitude [degree] of distant point

  • distLon (Optional[float]) – longitude [degree] of distant point

  • distAlt (Optional[float]) – altitide [km] of distant point

Returns

dict – a dictionary containing all the information about origin and distant points and their relative positions

Return type

dict