Returns information about the available networks and stations in that particular space/time region.
Parameters: |
|
---|---|
Returns: | XML document or a parsed SUDS object containing inventory information. |
Example
>>> from obspy.neries import Client
>>> from obspy import UTCDateTime
>>> client = Client(user='test@obspy.org')
>>> dt = UTCDateTime("2011-01-01T00:00:00")
>>> result = client.getInventory('GE', 'SNAA', '', 'BHZ', dt, dt+10,
... instruments=True)
>>> paz = result.ArclinkInventory.inventory.responsePAZ
>>> print(paz.poles)
(-0.037004,0.037016) (-0.037004,-0.037016) (-251.33,0.0) ...