spacepy.ctrans.geo_to_gdz

spacepy.ctrans.geo_to_gdz(geovec, units='km', geoid={'1mE2': 0.9933056200098587, 'A': 6378.137, 'A2': 40680631.59076899, 'A2mB2': 272331.60610755533, 'B': 6356.752314245179, 'B2': 40408299.98466144, 'E2': 0.0066943799901413165, 'E4': 4.481472345240445e-05, 'EP2': 0.0067394967422764514, 'Flat': 0.0033528106647474805, 'iFlat': 298.257223563})[source]

Convert geocentric geographic (cartesian GEO) to geodetic (spherical GDZ)

Uses Heikkinen’s exact solution [1], see Zhu et al. [#Zhu] for details.

Parameters:
geovecarray-like

Nx3 array (or array-like) of geocentric geographic [x, y, z] coordinates

Returns:
outnumpy.ndarray

Nx3 array of geodetic altitude, latitude, and longitude

Notes

New in version 0.3.0.

References