libgs_ops.scheduling.CommsPass.change_time

CommsPass.change_time(tstamp)[source]

Modify the pass data start time.

If you run this the pass will not correspond to a real satellite pass anymore, but it is an extremely useful function when testing an upcoming pass in a dry-run.

Example:

>>> cp.change_time('2019-11-01 12:32:42')

Will modify the commspass pass data so that it starts at 2019-11-01 12:32:42. Everything else stays the same.

Parameters:tstamp – New timestamp (in any format supported by ephem.Date, for example ISO string, or a python datetime.datetime)