[webservices] station and timewindow for a single day

Philip Crotwell crotwell at seis.sc.edu
Fri Oct 28 12:51:58 PDT 2011


I suppose I can fix it on the client side, but if the time window has
the same start and end day, no result is returned even if there really
was a channel in existence on part of that day. For example, the start
time for PAULI is <StartDate>2011-04-26T15:00:00</StartDate>, but
asking for the resp for one of its channels on that day with this URL

http://www.iris.edu/ws/station/query?net=CO&sta=PAULI&loc=00&chan=HHZ&timewindow=2011-04-26,2011-04-26&level=resp

gives:

<Response><Status><code>404</code></Status><message>No station(s) found.
</message><request>http://www.iris.edu/ws/station/query?net=CO&sta=PAULI&loc=00&chan=HHZ&timewindow=2011-04-26,2011-04-26&level=resp
</request></Response>

But changing the date by adding one to the day, like this give the
expected stationXML for this channel.
http://www.iris.edu/ws/station/query?net=CO&sta=PAULI&loc=00&chan=HHZ&timewindow=2011-04-27,2011-04-27&level=resp

It would be really nice if you could interpret a start and end day
that are the same as being a whole day instead of not finding any
results.

thanks,
Philip


More information about the webservices mailing list