In [12]:
import obspy
from obspy.core import read
from obspy.clients.fdsn.mass_downloader import CircularDomain, Restrictions, MassDownloader
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
In [13]:
from obspy.clients.fdsn import Client
client = Client("IRIS")
In [15]:
client = Client("IRIS")
starttime = obspy.UTCDateTime("2011-03-10")
endtime = obspy.UTCDateTime("2017-02-03")
cat = client.get_events(starttime=starttime, endtime=endtime, minmagnitude=6, catalog="ISC")
print(cat)
472 Event(s) in Catalog:
2014-01-26T13:55:43.330000Z | +38.191,  +20.507 | 6.1 MW
2014-01-25T05:14:20.520000Z |  -8.045, +109.222 | 6.2 MW
...
2011-03-11T05:46:23.200000Z | +38.296, +142.498 | 9.1 MW
2011-03-10T17:08:37.320000Z |  -6.857, +116.730 | 6.6 MW
To see all events call 'print(CatalogObject.__str__(print_all=True))'
In [16]:
cat.plot()
Out[16]:
In [ ]: