net = ‘CD’
client.select_stream(net, station, ‘EL?’)
client.run()
My goal is to connect to the seedlink server and do station query. I’m linking with the code above. But I can’t get a return from handle_data.
If the station is coming to the seedlink server, I want to do the same query for another station after reading the end time and receiving this information.
You would have to parse that xml string yourself, though, but that should be simple.
There's also this page for the easyseedlink client:
If you're able to use the current development version of obspy, a convenience routine implemented for the basic client, but thats not in the stable release yet:
The code parsing the xml response is here, in case you need it:
Yes, I’ve tried everything you’ve suggested. I didn’t get any results, so I asked for help. I use opspy version 1.1.1. It has not “obspy.clients.seedlink.basic_client.Client.get_info” on this version.
My goal is to check the stations come to seedlink server one by one. I writed code for this. it is below.
from obspy.clients.seedlink.easyseedlink import *
import pymysql