aux_getIRISdata | R Documentation |
This function accesses the IRIS internet data base of seismic signals and
downloads seismic data based on the provided SNCL string and time
information. The downloaded data is converted to the same structure as
would be expected from read_sac
or read_mseed
.
aux_getIRISdata(
start,
duration,
sncl,
quality = "D",
ID_iris = "IrisClient",
eseis = TRUE
)
start |
|
duration |
|
sncl |
|
quality |
|
ID_iris |
|
eseis |
|
The function makes use of the package 'IRISSeismic'. It requires a working internet connection to perform the download.
List
with downloaded seismic data. For each element in
sncl
, a list element is created, which in turn contains a list with
the typical seismic data organisation as, for example, created by
read_sac
.
Michael Dietze
## Not run:
sncl <- aux_getIRISstation(start = as.POSIXct("2010-01-01 22:22:22",
tz = "UTC"),
duration = 120,
location = c(53, 13),
radius = 0.7,
component = "BHZ")
s <- aux_getIRISdata(start = as.POSIXct("2010-01-01 22:22:22",
tz = "UTC"),
duration = 120,
sncl = sncl$sncl[1])
plot_signal(data = s[[1]])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.