obspy.clients.filesystem.tsindex.TSIndexDatabaseHandler._create_query_row

TSIndexDatabaseHandler._create_query_row(network, station, location, channel, starttime, endtime)[source]

Returns a tuple (network, station, location, channel, starttime, endtime) with elements that have been formatted to match database entries. This allows for accurate comparisons when querying the database.

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.