<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
The European High Schools are using directly the
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
IRIS DMC Web Services for data hosted at IRIS and local
implementations of a subset of these services for other data.<br>
<br>
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.<br>
<blockquote><a class="moz-txt-link-freetext" href="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">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</a><br>
</blockquote>
<blockquote><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"><br>
<Availability><Extent start="2013-01-01T00:00:00"
end="2013-01-01T01:00:00"/></Availability><br>
</Channel></Station></StaMessage><br>
</blockquote>
while the replacement , e.g.<br>
<blockquote>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<br>
</blockquote>
returns a monster response (attached!) including:<br>
<blockquote><DataAvailability><Extent
start="2010-12-17T19:52:43"
end="2013-07-02T12:00:00"/></DataAvailability><br>
</blockquote>
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.<br>
<br>
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?<br>
<br>
Thanks,<br>
<br>
Best regards to all,<br>
<br>
Anthony<br>
<br>
<div class="moz-signature">-- <br>
Sent from my iClayTablet <br>
<br>
<hr style="position:absolute; left:0px; width:70%;"> <br>
<b style="color:darkred; font-size:larger">Anthony Lomax</b> <br>
<b style="color:dimgray;">161 Allée du Micocoulier, 06370
Mouans-Sartoux, France</b> <br>
<b style="color:dimgray;"> tel: +33 (0)4 93 75 25 02
e-mail: <a href="mailto:anthony@alomax.net">anthony@alomax.net</a>
web: <a href="http://www.alomax.net/">http://www.alomax.net</a>
</b> <br>
<br>
<b style="color:darkgreen;">Science & Special Topics: </b>
<b style="color:dimgray;"><a href="http://www.alomax.net/science">http://www.alomax.net/science</a></b>
<br>
<b style="color:darkgreen;">Software: </b> <b
style="color:dimgray;"><a href="http://www.alomax.net/software">http://www.alomax.net/software</a></b>
<b style="color:darkgreen;"> - updates: </b> <b
style="color:dimgray;"><a href="https://twitter.com/ALomaxNet">https://twitter.com/ALomaxNet</a></b>
<br>
<hr style="position:absolute; left:0px; width:50%;"> </div>
</body>
</html>