Help: resp v.1

Description

The RESP webservice gives access to instrument response information. 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 and wget commands.

curl

$ curl -o UW.LON.--.EHZ.resp "http://service.iris.edu/irisws/resp/1/query?net=UW&sta=LON&loc=++&cha=EHZ"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3703  100  3703    0     0   6824      0 --:--:-- --:--:-- --:--:-- 3616k

wget

"$ wget -O UW.LON.--.EHZ.resp "http://service.iris.edu/irisws/resp/1/query?net=UW&sta=LON&loc=++&cha=EHZ"
--2011-04-20 13:44:18--  http://service.iris.edu/irisws/resp/1/query?net=UW&sta=LON&loc=++&cha=EHZ
Resolving www.iris.edu... 128.95.166.129
Connecting to www.iris.edu|128.95.166.129|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3703 (3.6K) [text/plain]
Saving to: 'UW.LON.--.EHZ.resp'
100%[=========================================================================>] 3,703       --.-K/s   in 0s
2011-04-20 13:44:18 (7.37 MB/s) - 'UW.LON.--.EHZ.resp' saved [3703/3703]

Make sure to surround the url with quotes or your unix shell will interpret the & characters as background control characters.

With recent versions of wget you can use the content-disposition flag to have the file saved to an automatic name.

$ wget --content-disposition "http://service.iris.edu/irisws/resp/1/query?net=UW&sta=LON&loc=++&cha=EHZ"
--2011-04-20 13:55:35--  http://service.iris.edu/irisws/resp/1/query?net=UW&sta=LON&loc=++&cha=EHZ
Resolving www.iris.edu... 128.95.166.129
Connecting to www.iris.edu|128.95.166.129|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3703 (3.6K) [text/plain]
Saving to: `RESP.LON.UW..EHZ'
100%[=========================================================================>] 3,703       --.-K/s   in 0s
2011-04-20 13:55:37 (16.1 MB/s) - `RESP.LON.UW..EHZ' saved [3703/3703]
$ ls RESP.LON.UW..EHZ 
RESP.LON.UW..EHZ

Problems with this service?

Please send an email report of which service you were using, your URL query, and any error feedback to:
data-help@earthscope.org
We will address your issue as soon as possible.