astroforge.coordinates.LatLonAltToITRS#

astroforge.coordinates.LatLonAltToITRS(lat, lon, alt)[source]#

Convert a geodetic latitude, longitude, and altitude to a cartesian position vector in the International Terrestrial Reference System (ITRS).

Note

Latitude and longitude inputs should be specified in degrees.

Parameters:
  • lat (float) – Geodetic latitude of the site (degrees)

  • lon (float) – Longitude of the site (degrees)

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

Returns:

ITRS position vector

Return type:

NDArray[np.float64]