Query the station service of the client.
>>> client = Client("IRIS")
>>> inventory = client.get_stations(latitude=-56.1, longitude=-26.7,
... maxradius=15)
>>> print inventory
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?lat...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (3):
AI
II
SY
Stations (4):
AI.ORCD (ORCADAS, SOUTH ORKNEY ISLANDS)
II.HOPE (Hope Point, South Georgia Island)
SY.HOPE (HOPE synthetic)
SY.ORCD (ORCD synthetic)
Channels (0):
>>> inventory = client.get_stations(
... starttime=UTCDateTime("2013-01-01"), network="IU",
... sta="ANMO", level="channel")
>>> print inventory
Inventory created at ...
Created by: IRIS WEB SERVICE: fdsnws-station | version: ...
http://service.iris.edu/fdsnws/station/1/query?station=...
Sending institution: IRIS-DMC (IRIS-DMC)
Contains:
Networks (1):
IU
Stations (1):
IU.ANMO (Albuquerque, New Mexico, USA)
Channels (57):
IU.ANMO.00.BH1, IU.ANMO.00.BH2, IU.ANMO.00.BHZ,
IU.ANMO.00.LH1, IU.ANMO.00.LH2, IU.ANMO.00.LHZ,
IU.ANMO.00.VH1, IU.ANMO.00.VH2, IU.ANMO.00.VHZ,
IU.ANMO.00.VM1, IU.ANMO.00.VM2, IU.ANMO.00.VMZ,
IU.ANMO.10.BH1, IU.ANMO.10.BH2, IU.ANMO.10.BHZ,
IU.ANMO.10.EH1, IU.ANMO.10.EH2, IU.ANMO.10.EHZ,
IU.ANMO.10.HH1, IU.ANMO.10.HH2, IU.ANMO.10.HHZ,
IU.ANMO.10.LH1, IU.ANMO.10.LH2, IU.ANMO.10.LHZ,
IU.ANMO.10.VH1, IU.ANMO.10.VH2, IU.ANMO.10.VHZ,
IU.ANMO.10.VM1, IU.ANMO.10.VM2, IU.ANMO.10.VMZ,
IU.ANMO.20.EN1, IU.ANMO.20.EN2, IU.ANMO.20.ENZ,
IU.ANMO.20.HN1, IU.ANMO.20.HN1, IU.ANMO.20.HN2,
IU.ANMO.20.HN2, IU.ANMO.20.HNZ, IU.ANMO.20.HNZ,
IU.ANMO.20.LN1, IU.ANMO.20.LN1, IU.ANMO.20.LN2,
IU.ANMO.20.LN2, IU.ANMO.20.LNZ, IU.ANMO.20.LNZ,
IU.ANMO.30.LDO, IU.ANMO.31.LDO, IU.ANMO.35.LDO,
IU.ANMO.40.LFZ, IU.ANMO.50.LDO, IU.ANMO.50.LIO,
IU.ANMO.50.LKO, IU.ANMO.50.LRH, IU.ANMO.50.LRI,
IU.ANMO.50.LWD, IU.ANMO.50.LWS, IU.ANMO.60.HDF
Parameters: |
|
---|
Parameters: |
|
---|---|
Return type: | |
Returns: | Inventory with requested station information. |
Any additional keyword arguments will be passed to the webservice as additional arguments. If you pass one of the default parameters and the webservice does not support it, a warning will be issued. Passing any non-default parameters that the webservice does not support will raise an error.