Hi,
I am using the fdsn to get the catalog from USGS, and get an error, it seems in the catalog it has the event_type as ‘quarry_blast’, but in obspy it is ‘quarry blast’. The code and errors are listed below. Hope we can change this, thanks.
from obspy.fdsn import Client
t1 = UTCDateTime(“2014-03-01T06:30:00.000”)
t2 = UTCDateTime(“2014-03-19T07:30:00.000”)
#get the catalog
client = Client(‘USGS’)
cat = client.get_events(starttime=t1, endtime=t2, minmagnitude=0, includeallorigins = True)
ValueError: Setting attribute "event_type" failed. Value "quarry_blast" could not be converted to type "Enum(["not existing", "not reported", "earthquake", "anthropogenic event", "collapse", "cavity collapse", "mine collapse", "building collapse", "explosion", "accidental explosion", "chemical explosion", "controlled explosion", "experimental explosion", "industrial explosion", "mining explosion", "quarry blast", "road cut", "blasting levee", "nuclear explosion", "induced or triggered event", "rock burst", "reservoir loading", "fluid injection", "fluid extraction", "crash", "plane crash", "train crash", "boat crash", "other event", "atmospheric event", "sonic boom", "sonic blast", "acoustic noise", "thunder", "avalanche", "snow avalanche", "debris avalanche", "hydroacoustic event", "ice quake", "slide", "landslide", "rockslide", "meteorite", "volcanic eruption"])"
Best
Qingkai