resp: Access the 'resp' web service for instrument response...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

From [1]: The RESP webservice gives access to instrument response information. The response information is returned in the RESP format [2]. The service can return responses for a channel, one or more channels under a location, or one or more channels under a station.

Usage

1
2
3
4
5
ws.resp(network, station, location, channel, time = "", starttime = "",
  endtime = "", filename = NA, verbose = FALSE)

resp.ws(network, station, location, channel, time = "", starttime = "",
  endtime = "", filename = NA, verbose = FALSE)

Arguments

network

character; Regular network (e.g., 'IU') or virtual network (e.g., '_FDSN')

station

charcter; Station code

location

character; Location code. Use -- instead of spaces. Wildcards are accepted.

channel

character; Channel code. Wildcards are accepted.

time

character; Find the response for the given time. time cannot be used with starttime or endtime. Using this can tend to produce

starttime

character; find response information from this point on

endtime

character; find response information up until this point

filename

NA for an auto-generated filename based on the inputs; NULL for a temporary filename; or, a character string of the user's choosing. See Details for details about the auto-generated name.

verbose

logical; should messages be given?

Details

Filename options (filename=)

Autogenerated files are of the form:

iriswsQ.<network>.<station>.<location>.<channel>.resp

Temporary files are generated within query.iris.

Value

A list (invisibly) with the query string, and data from the result

Author(s)

AJ Barbour

References

[1] http://service.iris.edu/irisws/resp/1/

[2] http://www.iris.edu/KB/questions/69/What+is+a+RESP+file?

See Also

Other WebServices: distaz, flinnengdahl, irisws-webservices, timeseries, traveltime

Examples

1
2
3
ws.resp("PB","B084","--","LDD")
try(ws.resp("PB","B084","--","LDD", time=timestring(2012,10,0,0,0)))
try(ws.resp("PB","B084","--","LDD", starttime=timestring(2012,10,0,0,0)))

abarbour/irisws documentation built on May 10, 2019, 4:07 a.m.