Function lupnt::spice::GetGroundStationDataSpice(Real, const std::string&, BodyId, const std::string&, const std::string&)¶
Defined in File spice.cc
Function Documentation¶
-
GroundStationSpiceData lupnt::spice::GetGroundStationDataSpice(Real t_tdb, const std::string &station_name, BodyId center = BodyId::EARTH, const std::string &refFrame = "ITRF93", const std::string &abCorrection = "NONE")¶
Look up a ground station’s position and geodetic coordinates from SPICE by station name.
Resolves
station_nameto its NAIF ID viaGetNaifId, then delegates to thestation_idoverload. Used byGroundStation(agents/ground_station.h/.cc) to initialize a ground station’s ECEF position and latitude/longitude/altitude from a SPICE station-frame kernel (e.g. DSN complexes) given a station name in a YAML config.- Parameters:
t_tdb – Epoch [s, TDB seconds since J2000]
station_name – SPICE body/station name (e.g. a DSN station name)
center – Center body for the returned position (default Earth)
refFrame – SPICE reference frame for the position (default
"ITRF93", i.e. ECEF)abCorrection – SPICE aberration correction (default
"NONE")
- Returns:
Station NAIF ID/name, body-fixed position [m], and geodetic latitude/longitude [deg] / altitude [m]