Returns information about the available networks and stations in that particular space/time region.
Parameters: |
|
---|---|
Returns: | Dictionary of inventory information. |
Example
>>> from obspy.arclink import Client
>>> client = Client("webdc.eu", 18001, user='test@obspy.org')
>>> inv = client.getInventory('BW', 'M*', '*', 'EHZ', restricted=False,
... permanent=True, min_longitude=12,
... max_longitude=12.2)
>>> inv.keys()
['BW.MROB', 'BW.MANZ..EHZ', 'BW', 'BW.MANZ', 'BW.MROB..EHZ']
>>> inv['BW']
AttribDict({'description': 'BayernNetz', 'region': 'Germany', ...
>>> inv['BW.MROB']
AttribDict({'code': 'MROB', 'description': 'Rosenbuehl, Bavaria', ...