Function lupnt::spice::GetNaifName

Function Documentation

std::string lupnt::spice::GetNaifName(int naif_id)

Resolve a NAIF integer ID code to its body/spacecraft/station name (e.g. 301 -> "MOON").

Used by GetGroundStationDataSpice(t_tdb, station_id, ...) to fill in GroundStationSpiceData::name from a numeric station ID. Returns the numeric ID as a string if no name is found (does not throw).