obspy.clients.seedlink.client.seedlinkconnection.SeedLinkConnection.read_stream_list
- SeedLinkConnection.read_stream_list(streamfile, defselect)[source]
Read a list of streams and selectors from a file and add them to the stream chain for configuring a multi-station connection.
If ‘defselect’ is not null it will be used as the default selectors for entries will no specific selectors indicated.
The file is expected to be repeating lines of the form:
<NET> <STA> [selectors]
For example:
# Comment lines begin with a '#' or '*' GE ISP BH?.D NL HGN MN AQU BH? HH?
- Parameters
streamfile – name of file containing list of streams and selectors.
defselect – default selectors.
- Returns
the number of streams configured.
- Raises
SeedLinkException – on error.