Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 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()
Exemplo n.º 4
0
 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()