Gets event detail information.
Parameters: |
|
---|---|
Return type: | Catalog, list or str |
Returns: | Method will return either an ObsPy Catalog object, a list of event dictionaries or a QuakeML string depending on the format keyword. |
Example
>>> from obspy.neries import Client
>>> client = Client()
>>> result = client.getEventDetail("19990817_0000001", 'list')
>>> len(result) # Number of calculated origins
12
>>> result[0] # Details about first calculated origin
{'author': u'EMSC', 'event_id': u'19990817_0000001',
'origin_id': 1465935, 'longitude': 29.972,
'datetime': UTCDateTime(1999, 8, 17, 0, 1, 35), 'depth': -10.0,
'magnitude': 6.7, 'magnitude_type': u'mw', 'latitude': 40.749}