Learn R Programming

eseis (version 0.6.0)

aux_getIRISstation: Query IRIS data base for stations

Description

This function queries the IRIS data base for seismic stations that match a set of criteria for seismic data. The criteria include signal time stamp and location, component and a search radius. The returned SNCL strings can be used to download data using the function aux_getIRISdata.

Usage

aux_getIRISstation(
  start,
  duration,
  location,
  radius = 10,
  component = "BHZ",
  ID_iris = "IrisClient"
)

Value

Data frame with query results. The data frame contains information for all seismic stations fulfilling the defined criteria.

Arguments

start

POSIXct value, start time of the data to query.

duration

Numeric value, length of the data to query, in seconds.

location

Numeric vector of length two, coordinates of the seismic source, in decimal degrees (i.e., latitude and longitude).

radius

Numeric value, search radius for the query, in decimal degrees. Default is 10 (about 1100 km).

component

Character value, signal component to check for. One out of "BHE", "BHN" and "BHZ". Currently, only one component can be defined per search. Default is "BHZ".

ID_iris

Character value, IRIS ID. Default is "IrisClient".

Author

Michael Dietze

Details

The function makes use of the package IRISSeismic. It requires a working internet connection to perform the query.

Examples

Run this code

if (FALSE) {

x <- aux_getIRISstation(start = as.POSIXct("2010-01-01 22:22:22", 
                         tz = "UTC"), 
                         duration = 3 * 3600, 
                         location = c(53, 13), 
                         radius = 1, 
                         component = "BHZ")
}
                     

Run the code above in your browser using DataLab