-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with events #30
Comments
If I change |
The problem is the minmagnitude argument for EMSC |
I propose to switch to IRIS instead of EMSC |
But the script still continues.. right? Just shows that message on |
Could it be this was just a temporary problem? I just did a quick comparison of what catalog data is returned for today (i.e. 12 hours backwards from realtime) with M>2 for each of the FDSNWS end points and it looks like in general EMSC catalog might be the best option for near-realtime data. ISC might be an obvious choice but it is not able to give data for near-realtime (newest event 4 hours behind realtime), seems like. from obspy import UTCDateTime
from obspy.clients.fdsn import Client
from obspy.clients.fdsn.header import URL_MAPPINGS
t = UTCDateTime(2018, 4, 10)
for key in URL_MAPPINGS.keys():
client = Client(key)
try:
cat = client.get_events(starttime=t, minmagnitude=2)
except:
continue
cat.events = sorted(cat.events, key=lambda e: e.origins[0].time)
print key
print cat
print ''
cat.plot(outfile='/tmp/events/%s.png' % key, show=False)
Pics for best candidates: |
With this command line both on mac or RaspberryPi
seedlink-plotter --seedlink_server rtserver.ipgp.fr:18000 -s G_SSB:00BHZ -b 12h --events 7
I have this error
The text was updated successfully, but these errors were encountered: