Thread: event service questions

Started: 2012-05-23 22:48:01
Last activity: 2012-05-24 19:46:09
Topics: Web Services
Philip Crotwell
2012-05-23 22:48:01

A couple of questions about the event web service.

1) What is the intended meaning of "includeallmagnitudes"? I appears
to me that it means include zero or one magnitude, but never includes
more than that. For example this query finds one origin and one

The same query except dropping the includeallmagnitudes gives one
origin with zero magnitudes.

This is even true if you pick a particular magnitude type, like this.
It seems very weird to me to ask for events with a MW >= 5 and have
the returned xml not include any magnitude information at all.
Magnitude is just about as fundamental as location or time, and to
make it be an optional value seems strange.

I looked with seismoquery near the 2000-06-08 event and if I am
reading the output correctly, there are several magnitudes for this
event in the ISC catalog. I also looked at a couple of other time
ranges to be sure, but it appears that you either get zero or one
magnitude depending on the value of includeallmagnitudes. I thought
that this option was to allow you to choose to either get just the one
"preferred" magnitude or to get all of them, but if you only ever get
one then this option seems pointless.

2) Similarly, the "preferredonly" option makes it sound like you can
get either just the preferred origin, or all of the origins for a
particular event, assuming that grouping information exists. Am I
misunderstanding the meaning of this? I have tried several time ranges
and have yet to see an event that had more than just the preferred

3) What is the effect of not choosing a catalog? I can think of two
meanings, either "all catalogs" or "only the preferred catalog". Both
of these seem valid choices, but it is not clear how to enact them.

4) Can I specify multiple catalogs? Putting two &catalog= items in the
URL gives back no events, so I guess not, or maybe it just takes the
last one.


Page built 09:45:04 | v.b'ea7a92