ITRS_to_geodetic

ITRS_to_geodetic

sorts.frames.ITRS_to_geodetic(x, y, z, radians=False, ellipsoid=None)[source]

Use astropy.coordinates.EarthLocation to transform from geodetic to ITRS.

Parameters
  • x (float) – X-coordinate in ITRS

  • y (float) – Y-coordinate in ITRS

  • z (float) – Z-coordinate in ITRS

  • radians (bool) – If True then all values are given in radians instead of degrees.

  • ellipsoid (str/None) – Name of the ellipsoid model used for geodetic coordinates, for default value see Astropy EarthLocation.

Return type

numpy.ndarray

Returns

(3,) array of longitude, latitude and height above ellipsoid