def test_info(self): slClient = SLClient(loglevel='DEBUG') slClient.slconn.setSLAddress("geofon.gfz-potsdam.de:18000") slClient.infolevel = "ID" slClient.verbose = 2 slClient.initialize() slClient.run()
def test_issue708(self): slClient = SLClient() slClient.slconn.setSLAddress("rtserve.iris.washington.edu:18000") slClient.multiselect = ("G_FDF:00BHZ, G_SSB:00BHZ") # set a time window from 2 min - 1 min in the past dt = UTCDateTime() slClient.begin_time = (dt - 120.0).formatSeedLink() slClient.end_time = (dt - 60.0).formatSeedLink() slClient.verbose = 2 slClient.initialize() slClient.run()
def test_time_window(self): slClient = SLClient() slClient.slconn.setSLAddress("geofon.gfz-potsdam.de:18000") slClient.multiselect = ("GE_STU:BHZ") # set a time window from 2 min - 1 min in the past dt = UTCDateTime() slClient.begin_time = (dt - 120.0).formatSeedLink() slClient.end_time = (dt - 60.0).formatSeedLink() slClient.verbose = 2 slClient.initialize() slClient.run()
def test_time_window(self): slClient = SLClient() slClient.slconn.setSLAddress("geofon.gfz-potsdam.de:18000") slClient.multiselect = ("GE_STU:BHZ") # set a time window from 2 min in the past to 5 sec in the future dt = UTCDateTime() slClient.begin_time = (dt - 120.0).formatSeedLink() slClient.end_time = (dt + 5.0).formatSeedLink() print "SeedLink date-time range:", slClient.begin_time, " -> ", print slClient.end_time slClient.verbose = 2 slClient.initialize() slClient.run()