Thread: station and timewindow for a single day

Started: Oct. 28, 2011, 3:51 p.m.
Last activity: Oct. 28, 2011, 3:51 p.m.
Topics: Web Services
Philip Crotwell
Oct. 28, 2011, 3:51 p.m.
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

Page built 17:39:46 | v.c96703e3