obspy.clients.filesystem.tsindex.Client.get_waveforms

Client.get_waveforms(network, station, location, channel, starttime, endtime, merge=-1)[source]

Query tsindex database and read miniSEED data from local indexed directory tree.

Parameters:
  • network (str) – Network code of requested data (e.g. “IU”). Wildcards ‘*’ and ‘?’ are supported.

  • station (str) – Station code of requested data (e.g. “ANMO”). Wildcards ‘*’ and ‘?’ are supported.

  • location (str) – Location code of requested data (e.g. “”). Wildcards ‘*’ and ‘?’ are supported.

  • channel (str) – Channel code of requested data (e.g. “HHZ”). Wildcards ‘*’ and ‘?’ are supported.

  • starttime (UTCDateTime) – Start of requested time window.

  • endtime (UTCDateTime) – End of requested time window.

  • merge (int or None) – Specifies, which merge operation should be performed on the stream before returning the data. Default (-1) means only a conservative cleanup merge is performed to merge seamless traces (e.g. when reading across day boundaries). See Stream.merge() for details. If set to None (or False) no merge operation at all will be performed.

Return type:

Stream

Returns:

A ObsPy Stream object containing requested timeseries data.