Learn R Programming

Rquake (version 2.4-4)

SELstaDB: Pick stations and components interactively

Description

Pick stations and components interactively. This is a routine used in swig.

Usage

SELstaDB(IDB, sel=1,  newdev = TRUE, STAY = FALSE)

Arguments

IDB

list of stations and components

sel

vector of index to selected traces

newdev

logical, whether to create a new device.

STAY

logical, whether to keep device active.

Value

vector of index to list of stations and components

See Also

infoDB, makeDB

Examples

Run this code
# NOT RUN {
fpath = "/Users/lees/Site/CHAC/DATA"
fpat = "201111"
DBnov = makeDB(fpath, fpat, kind=2, Iendian=1, BIGLONG=FALSE)
IDB = infoDB(DBnov)
SELstaDB(IDB)
# }

Run the code above in your browser using DataLab