geocentric2cart

typhon.geodesy.geocentric2cart(r, lat, lon)[source]

Convert from spherical coordinate to a cartesian position.

See cart2geocentric() for a defintion of the geocentric coordinate system.

Parameters:

r: Radius. lat: Latitude in degree. lon Longitude in degree.

Returns:

tuple: Coordinate in x, y, z dimension.