[webservices] New version of the IRIS Java web services library: 2.0.2
Anthony Lomax
alomax at free.fr
Wed Jul 3 00:46:14 PDT 2013
Hello,
The European High Schools are using directly the IRIS DMC Web Services
for data hosted at IRIS and local implementations of a subset of these
services for other data.
One local tool we have developed uses an iris type availability ws to
check for data available around the origin time of an earthquake for a
list of networks/stations. The old iris availability service
(deprecated) returns a compact response (even in XML!) for such a
request, e.g.
http://www.iris.edu/ws/availability/query?&starttime=2013-01-01T00:00:00&endtime=2013-01-01T01:00:00&sta=CMB&cha=BHZ&output=xml
<StaMessage><Source>IRIS-DMC</Source><SentDate>2013-07-03T07:31:57</SentDate><Station
net_code="BK"
sta_code="CMB"><Lat>38.03455</Lat><Lon>-120.38651</Lon><Elevation>697.0</Elevation><Channel
chan_code="BHZ" loc_code="00">
<Availability><Extent start="2013-01-01T00:00:00"
end="2013-01-01T01:00:00"/></Availability>
</Channel></Station></StaMessage>
while the replacement , e.g.
service.iris.edu/fdsnws/station/1/query?starttime=2013-01-01T00:00:00&endtime=2013-01-01T01:00:00&sta=CMB&cha=BHZ&level=channel&includeavailability=true
returns a monster response (attached!) including:
<DataAvailability><Extent start="2010-12-17T19:52:43"
end="2013-07-02T12:00:00"/></DataAvailability>
Note that besides the huge size of the response (we need to make
multiple requests for a list of stations), the <DataAvailability><Extent
in the two responses are different - the first confirms a data window
within our requested time span (exactly the response we want), while the
second seems to present to total time of data available, which we would
have to further process to confirm that our time window of interest is
available.
Is all of the above behaviour and the differences between the two
responses correct? Is there any way or any plans to get the more
compact, old-style availability response?
Thanks,
Best regards to all,
Anthony
--
Sent from my iClayTablet
------------------------------------------------------------------------
*Anthony Lomax*
*161 Allée du Micocoulier, 06370 Mouans-Sartoux, France*
*tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net
<mailto:anthony at alomax.net> web: http://www.alomax.net
<http://www.alomax.net/> *
*Science & Special Topics: * *http://www.alomax.net/science*
*Software: * *http://www.alomax.net/software* *- updates: *
*https://twitter.com/ALomaxNet*
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20130703/08d26128/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdsnws-station_2013-07-03T07_33_01.xml
Type: text/xml
Size: 2588 bytes
Desc: not available
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20130703/08d26128/attachment-0001.bin>
More information about the webservices
mailing list