Query the event service of the client.
>>> client = Client("IRIS")
>>> cat = client.get_events(eventid=609301)
>>> print cat
1 Event(s) in Catalog:
1997-10-14T09:53:11.070000Z | -22.145, -176.720 | 7.8 mw
>>> t1 = UTCDateTime("2011-01-07T01:00:00")
>>> t2 = UTCDateTime("2011-01-07T02:00:00")
>>> cat = client.get_events(starttime=t1, endtime=t2, minmagnitude=4)
>>> print cat
4 Event(s) in Catalog:
2011-01-07T01:29:49.760000Z | +49.520, +156.895 | 4.2 mb
2011-01-07T01:19:16.660000Z | +20.123, -45.656 | 5.5 MW
2011-01-07T01:14:45.500000Z | -3.268, +100.745 | 4.5 mb
2011-01-07T01:14:01.280000Z | +36.095, +27.550 | 4.0 mb
Parameters: |
|
---|
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.