getSNCL | R Documentation |
The getSNCL() method is a convenience wrapper for the getSNCL() method
and returns a Stream
object in which individual Traces
have been sorted by start time.
getSNCL(obj, sncl, starttime, endtime, ...)
obj |
|
sncl |
character string with the SNCL code |
starttime |
POSIXct class specifying the starttime (GMT) |
endtime |
POSIXct class specifying the endtime (GMT) |
... |
optional arguments
|
The SNCL argument should be ordered network-station-location channel, e.g. IU.ANMO.00.LHZ
.
This argument is split into component parts which are then used in a call to the
getSNCL() method.
A new Stream
object is returned.
Jonathan Callahan jonathan@mazamascience.com
The IRIS DMC dataselect web service:
https://service.iris.edu/fdsnws/dataselect/1/
getDataselect
,
IrisClient-class
## Not run: # Open a connection to IRIS DMC webservices iris <- new("IrisClient") # Use getSNCL to request data for II.JTS.00.BHZ starttime <- as.POSIXct("2001-02-28",tz="GMT") endtime <- as.POSIXct("2001-03-01",tz="GMT") st <- getSNCL(iris, "II.JTS.00.BHZ",starttime, endtime, quality="M", repository="primary",inclusiveEnd=FALSE,ignoreEpoch=TRUE) # Display structure of trace(s) str(st) # Plot trace plot(st) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.