The ph5ws-resp webservice gives access to instrument response metadata held in the IRIS-DMC’s PH5 archive. The response information is returned in the RESP format. The service can return responses for a channel, one or more channels under a location, or one or more channels under a station.
The service can be easily invoked by using the unix
$ curl -L -o 5A.1..DPZ.resp "http://service.iris.edu/ph5ws/resp/1/query?net=5A&sta=1&loc=++&cha=DPZ" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5053 0 5053 0 0 118k 0 --:--:-- --:--:-- --:--:-- 159k
We recommend always using the
-L option to allow curl to follow HTTP redirections specified by our systems. The DMC uses HTTP redirection during maintenance to keep servicing requests.
$ wget -O 5A.1..DPZ.resp “service.iris.edu/ph5ws/resp/1/query?net=5A&sta=1&loc=++&cha=DPZ&time=2018-03-12T18:05:50”
—2019-01-08 12:55:37— http://service.iris.edu/ph5ws/resp/1/query?net=5A&sta=1&loc=++&cha=DPZ&time=2018-03-12T18:05:50
Resolving service.iris.edu… 184.108.40.206
Connecting to service.iris.edu|220.127.116.11|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 4934 (4.8K) [text/plain]
Saving to: ‘5A.1..DPZ.resp’
5A.1..DPZ.resp 100%[================================================================>] 4.82K —.-KB/s in 0s
2019-01-08 12:55:42 (248 MB/s) – ‘5A.1..DPZ.resp’ saved [4934/4934]
Make sure to surround the url with quotes or your unix shell will interpret the & characters as background control characters.
Please send an email report of which service you were using, your URL query, and any error feedback to:
data-help AT earthscope.org
We will address your issue as soon as possible.