spacepy.ctrans.rll_to_geo

spacepy.ctrans.rll_to_geo(rllvec, 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]

Calculate geocentric geographic (GEO) from RLL coordinates

Parameters
rllvecarray-like

Nx3 array of geocentric radius, geodetic latitude, geodetic longitude (in specified units)

Returns
geoarrnumpy.ndarray

Nx3 array of [altitude, geodetic latitude, geodetic longitude]

Other Parameters
unitsstr

Units for input geocentric radii. Options are ‘km’ or ‘Re’. Default is ‘km’. Output units will be the same as input units.

geoidspacepy.ctrans.Ellipsoid

Instance of a reference ellipsoid to use for geodetic conversion. Default is WGS84.

Notes

New in version 0.3.0.