astroforge.coordinates.ITRSToLatLonAlt#

astroforge.coordinates.ITRSToLatLonAlt(z)[source]#

Converts a cartesian vector from the International Terrestrial Reference System (ITRS) to geodetic latitute, longitude, and altitude. This method is a wrapper around astropy utilities.

Note

Output latitude and longitude are in degrees. Output altitude is in kilometers.

Parameters:

z (NDArray[np.float64]) – Shape (3,) cartesian vector in ITRS

Returns:

  • lat (float) – Geodetic latitude (degrees)

  • lon (float) – Longitude (degrees)

  • alt (float) – Height above the WGS84 reference ellipsoid (km)