ssapy_toolkit.Coordinates.llh_to_gcrf

ssapy_toolkit.Coordinates.llh_to_gcrf(lon: float, lat: float, t: Time, height: float = 0.0)[source]

Convert geodetic (lon, lat, height) at a given time to GCRF (GCRS) position & velocity.

Parameters:
  • lon (float) – Geodetic longitude in degrees (east-positive).

  • lat (float) – Geodetic latitude in degrees (north-positive).

  • t (astropy.time.Time) – The observation time (UTC or TAI, etc.).

  • height (float, optional) – Height above the reference ellipsoid in meters.

Returns:

  • r_gcrf (ndarray, shape (3,)) – GCRF (GCRS) Cartesian position [x, y, z] in meters.

  • v_gcrf (ndarray, shape (3,)) – GCRF (GCRS) Cartesian velocity [vx, vy, vz] in m/s.