<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi Philip,</div><div><br></div><div>No, there is no way to select via a list of contributors. &nbsp;This is also not part of the specification for the FDSN version of the service, and it's not an extension we plan on offering unless a more people ask for it (a comma-separated list would also mean comma's are disallowed in a contributor string, not really a big deal but a consequence to consider). &nbsp;Honestly, the use case is pretty narrow and something like your suggestion of making two separate queries is probably more appropriate.</div><div><br></div><div>As for returning a 400 or 404, we will think on that a bit. &nbsp;I think I understand your logic (the list of contributors is know and it could be checked), but I could extend that argument to networks, stations, locations, channels and perhaps more. &nbsp;Should we return a 400 when a network is requested that we have no data for? &nbsp;Or do we return "no data" (404 in the case of this service).</div><div><br></div><div>Chad</div><div><br></div><div><br></div><div>On Mar 14, 2013, at 12:05 PM, Philip Crotwell &lt;<a href="mailto:crotwell@seis.sc.edu">crotwell@seis.sc.edu</a>&gt; wrote:</div><div><br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>Is there a way in the event service to query for events that are in the NEIC PDE-W or NEIC PDE-M but not get events that only occur in the NEIC PDE-Q or NEIC ALERT? In other words, I want to process using the weekly or the monthly, but I don't want to use the Q or the ALERT.&nbsp; <br>
</div><br></div>Some time ago I was told that you cannot specify more than one contributor, which seems to be the case as this query returns no data. So, my guess is that I need to do this as 2 separate queries and merge the results locally if both return data?<br>
<br><a href="http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;contributor=NEIC+PDE-M,NEIC+PDE-W&amp;orderby=time&amp;output=xml">http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;contributor=NEIC+PDE-M,NEIC+PDE-W&amp;orderby=time&amp;output=xml</a><br>
<br></div>Also, if you are not going to accept multiple contributors or catalogs, it might be good to cause an 400 error on this query instead of a 404. You do checking on some other fields like orderby and output, so might as well check catalog and contributor.<br>
<br></div><div>In other words this query gives a 404 but probably should give a 400.<br><br><a href="http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;contributor=BLAH&amp;orderby=time&amp;output=xml">http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;contributor=BLAH&amp;orderby=time&amp;output=xml</a><br>
<br>Similar for this one.<br><br><a href="http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;catalog=BLAH&amp;orderby=time&amp;output=xml">http://www.iris.edu/ws/event/query?starttime=2010-10-27T06:30:00&amp;endtime=2011-10-01T06:30:00&amp;minmag=7&amp;catalog=BLAH&amp;orderby=time&amp;output=xml</a><br>
</div><div><br></div>thanks,<br></div>Philip<br>
</div>
_______________________________________________<br>webservices mailing list<br><a href="mailto:webservices@iris.washington.edu">webservices@iris.washington.edu</a><br>http://www.iris.washington.edu/mailman/listinfo/webservices<br></blockquote></div><br></body></html>