<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div><blockquote type="cite"><div>1) What is the intended meaning of "includeallmagnitude</div></blockquote></div><div><br></div><div>includeallmagnitude means to include all magnitudes related to the origin selected and not the event. &nbsp;Remember the service returns preferred origins by default. &nbsp;So when the&nbsp;includeallmagnitude=yes, all magnitudes for the preferred origin will be returned only.</div><div><br></div><div>includeallmagnitude is intended to differentiate whether a user wants all magnitudes or only the preferred one. &nbsp;At this time, we have no pointer to a preferred magnitude, so when&nbsp;includeallmagnitude=no, no magnitudes are returned.</div><div><br></div><div>We are working on the next release and the behavior will change as we will include preferred magnitudes, therefore when &nbsp;includeallmagnitude=no, only the preferred magnitude will be returned. &nbsp;In addition, unlike this version,&nbsp;includeallmagnitude will mean all magnitudes related to an event and not only an origin. &nbsp;So the default will have preferred origin and a preferred magnitude.</div><div><br></div><div>2) try this for an example:</div><div><a href="http://www.iris.edu/ws/event/query?eventid=3279407&amp;includeallmagnitudes=yes&amp;preferredonly=no">http://www.iris.edu/ws/event/query?eventid=3279407&amp;includeallmagnitudes=yes&amp;preferredonly=no</a></div><div>This event has "<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">smi:www.iris.edu/ws/event/query?originId=7680412" as the preferred origin, but the query also shows another origin with id:&nbsp;</span><span class="Apple-style-span" style="color: rgb(26, 26, 166); font-family: monospace; font-size: 13px; ">smi:www.iris.edu/ws/event/query?originId=7690242</span></div><meta charset="utf-8"><meta charset="utf-8"><div><br></div><div><br></div><div>3) It is not clear to me what your question is, when you do not select a catalog, then the query runs through all catalogs, otherwise it picks those event within a catalog.</div><div><br></div><div>4) I don't think we will support multiple catalogs "search" as this will confuse the intended meaning of "preferredonly + catalog" search criteria, plus other reasons.</div><div><br></div><div><br></div><div>Please let me know if you have an other questions. &nbsp;Yazan</div><div><br></div><div><br></div><div><br><div><div>On May 23, 2012, at 12:48 PM, Philip Crotwell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi<br><br>A couple of questions about the event web service.<br><br>1) What is the intended meaning of "includeallmagnitudes"? I appears<br>to me that it means include zero or one magnitude, but never includes<br>more than that. For example this query finds one origin and one<br>magnitude:<br><br><a href="http://www.iris.edu/ws/event/query?minmag=5&amp;starttime=2000-06-08T12%3A10%3A00&amp;endtime=2000-06-08T13%3A00%3A00&amp;includeallmagnitudes=yes&amp;orderby=time">http://www.iris.edu/ws/event/query?minmag=5&amp;starttime=2000-06-08T12%3A10%3A00&amp;endtime=2000-06-08T13%3A00%3A00&amp;includeallmagnitudes=yes&amp;orderby=time</a><br><br>The same query except dropping the includeallmagnitudes gives one<br>origin with zero magnitudes.<br>http://www.iris.edu/ws/event/query?minmag=5&amp;starttime=2000-06-08T12%3A10%3A00&amp;endtime=2000-06-08T13%3A00%3A00&amp;includeallmagnitudes=no&amp;orderby=time<br><br>This is even true if you pick a particular magnitude type, like this.<br>It seems very weird to me to ask for events with a MW &gt;= 5 and have<br>the returned xml not include any magnitude information at all.<br>Magnitude is just about as fundamental as location or time, and to<br>make it be an optional value seems strange.<br><br>http://www.iris.edu/ws/event/query?minmag=5&amp;starttime=2011-06-06T12%3A10%3A00&amp;endtime=2011-06-08T13%3A00%3A00&amp;magtype=MW&amp;preferredonly=yes&amp;includeallmagnitudes=no&amp;orderby=time<br><br>I looked with seismoquery near the 2000-06-08 event and if I am<br>reading the output correctly, there are several magnitudes for this<br>event in the ISC catalog. I also looked at a couple of other time<br>ranges to be sure, but it appears that you either get zero or one<br>magnitude depending on the value of includeallmagnitudes. I thought<br>that this option was to allow you to choose to either get just the one<br>"preferred" magnitude or to get all of them, but if you only ever get<br>one then this option seems pointless.<br><br>2) Similarly, the "preferredonly" option makes it sound like you can<br>get either just the preferred origin, or all of the origins for a<br>particular event, assuming that grouping information exists. Am I<br>misunderstanding the meaning of this? I have tried several time ranges<br>and have yet to see an event that had more than just the preferred<br>origin.<br><br>3) What is the effect of not choosing a catalog? I can think of two<br>meanings, either "all catalogs" or "only the preferred catalog". Both<br>of these seem valid choices, but it is not clear how to enact them.<br><br>4) Can I specify multiple catalogs? Putting two &amp;catalog= items in the<br>URL gives back no events, so I guess not, or maybe it just takes the<br>last one.<br><br>thanks,<br>Philip<br>_______________________________________________<br>webservices mailing list<br>webservices@iris.washington.edu<br>http://www.iris.washington.edu/mailman/listinfo/webservices<br></div></blockquote></div><br></div></body></html>