libgs_ops.scheduling.RPCSchedulerClient¶
-
class
libgs_ops.scheduling.
RPCSchedulerClient
(schedule, track_full_pass=True, compute_ant_points=True, rpcaddr='http://localhost:8000')[source]¶ The RPCSchedulerClient class connects to a remote scheduler and allows basic interaction with it to upload/start/stop schedules.
For futher information see
libgs.scheduler.Scheduler
Parameters: - schedule – The schedule to execute
- track_full_pass – If True (default), a pass will be tracked to its end even when the communications are finished.
- compute_ant_points – If True (default), libgs will intelligently decide when to move the antenna based on its beamwidth. Otherwise the schedule will be followed slavishly.
- rpcaddr – The XMLRPC address of the remote. For example: http://some.address.com:8000
Methods
disable
()Disable a scheduler on the remote. enable
()Re-enable a disabled scheduler on the remote execute
([N])Execute the schedule on the remote stop
()Stop the scheduler on the remote Attributes
state
Get current scheduler state from remote Inherited from base class