obspy.clients.earthworm.client.Client.get_availability
- Client.get_availability(network='*', station='*', location='*', channel='*')[source]
Gets a list of data available on the server.
This method returns information about what time series data is available on the server. The query can optionally be restricted to specific network, station, channel and/or location criteria.
- Parameters:
- Return type:
- Returns:
List of tuples with information on the available data. One tuple consists of network, station, location, channel (all strings), start time and end time (both as
UTCDateTime
).
Example
>>> from obspy.clients.earthworm import Client >>> client = Client("pubavo1.wr.usgs.gov", 16022, timeout=5) >>> response = client.get_availability( ... network="AV", station="AKV", channel="BH*") >>> print(response) [('AV', 'AKV', '--', 'BHE', UTCDateTime(...), UTCDateTime(...)), ('AV', 'AKV', '--', 'BHN', UTCDateTime(...), UTCDateTime(...)), ('AV', 'AKV', '--', 'BHZ', UTCDateTime(...), UTCDateTime(...))]