aux_getIRISdata {eseis} | R Documentation |
Download seismic data from IRIS data base
Description
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
.
Usage
aux_getIRISdata(
start,
duration,
sncl,
quality = "D",
ID_iris = "IrisClient",
eseis = TRUE
)
Arguments
start |
|
duration |
|
sncl |
|
quality |
|
ID_iris |
|
eseis |
|
Details
The function makes use of the package 'IRISSeismic'. It requires a working internet connection to perform the download.
Value
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
.
Author(s)
Michael Dietze
Examples
## 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)