[webservices] station metadata text output problem

Chad Trabant chad at iris.washington.edu
Thu Sep 20 11:50:47 PDT 2012


Hi Kevin,

I assume that the slowness you report is due to the the size of the XML document you get back and the processing required to parse it.  The XML itself should be returned quite quickly, particularly if no secondary origins, magnitudes or arrivals are requested (that requires database access).  Please let us know if you observed slow transmission of the XML.

As for the extra line break in the text output, we confirmed that this is due to a newline character in the site description for that station.  We are prepping a release that strips these and other unprintable characters out of the site name to mitigate the issue.

Thanks for reporting this.

cheers,
Chad


On Sep 20, 2012, at 9:59 AM, Kevin Frechette wrote:

> Hello all,
> 
> I am looking at using the IRIS Station Web Service as a replacement for DHI. For station metadata I tried the StationXML output but the performance was very slow when many channels are required. The text output has excellent performance and it general works very well. However I noticed a problem with the station level text output for network IC station QIZ.
> 
> http://www.iris.edu/ws/station/query?&output=text&level=sta&net=IC&starttime=2012-09-20T16:25:40.814
> 
> The information for network IC station QIZ is on two lines instead of one:
> IC|QIZ|19.0291|109.8445|240.0|Qiongzhong, Hainan Province, China
> |2010-10-19T00:00:00|2599-12-31T23:59:59
> Cheers,
> Kevin
> _______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/webservices/attachments/20120920/f6f43298/attachment.htm>


More information about the webservices mailing list