geocentric2geodetic

typhon.geodesy.geocentric2geodetic(r, lat, lon, ellipsoid=None)[source]

Convert from geocentric to geodetic coordinates.

The geodetic coordinates refer to the reference ellipsoid specified by input ellipsoid. See module docstring for a defintion of the geocentric coordinate system.

Returns:

Geodetic height, latitude and longitude

Return type:

tuple

Parameters:
  • r – Radius:
  • lat – Geocentric latitude.
  • lon – Geocentric longitude.
  • ellipsoid – A tuple with the form (semimajor axis, eccentricity). Default is ‘WGS84’ from ellipsoidmodels.