Beispiel #1
0
def orekit_station_by_geodetic_point(body,
                                     station_name,
                                     pos,
                                     displacements=[]):
    frame_history = FramesFactory.findEOP(body.getBodyFrame())
    topo_frame = TopocentricFrame(body, pos, station_name)
    ground_station = GroundStation(topo_frame, frame_history, displacements)
    return ground_station
Beispiel #2
0
def orekit_station_by_coords(body,
                             station_name,
                             lat,
                             lon,
                             alt,
                             displacements=[]):
    pos = GeodeticPoint(lat, lon, alt)
    frame_history = FramesFactory.findEOP(body.getBodyFrame())
    topo_frame = TopocentricFrame(body, pos, station_name)
    displacements = []
    ground_station = GroundStation(topo_frame, frame_history, displacements)
    return ground_station