obsplus.get_station_client¶
- obsplus.get_station_client(stations)[source]¶
 Extract a station client from various inputs.
- Parameters:
 stations (
str|Path|Inventory) –- Any of the following:
 A path to an obspy-readable station file
A path to a directory of obspy-readable station files
An obspy.Inventory instance
An instance of
EventBankAny other object that has a get_stations method
- Raises:
 TypeError – If a station client cannot be determined from the input.
- Return type: