# spacepy.ctrans.gdz_to_geo

spacepy.ctrans.gdz_to_geo(gdzvec, 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})

  Convert geodetic (GDZ) coordinates to geocentric geographic

  Parameters
    gdzvec array-like

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

  Returns
    out numpy.ndarray

      Nx3 array of geocentric geographic x, y, z coordinates

  Other Parameters
    units str

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

    geoid spacepy.ctrans.Ellipsoid

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

  Notes

  New in version 0.3.0.