Learn R Programming

RSEIS (version 4.1-1)

getIRIS: get Hypocenters from IRIS web site

Description

Convert hypocenters from the IRIS website and prepare for plotting in GEOmap

Usage

getIRIS(fn, skip=0)
getANSS(fn, skip=2)

Value

list:

yr

vector year

dom

vector, day of month

mo

vector, mo

hr

vector, hour

mi

vector, minute

sec

vector, sec

lat

vector, latitude

lon

vector, longitude

z

vector, depth

mag

vector, magnitude

Arguments

fn

character, file path name

skip

numeric, number of lines to skip (e.g. for the header)

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Reads in a file dumped out by the website selection box.

See Also

getjul

Examples

Run this code
if (FALSE) {
fn <- "/home/lees/WORK/SENDAI.EVENT/catsearch.8757"

g <- getANSS(fn)
g$jd <- getjul(g$yr, g$mo, g$dom)
}

Run the code above in your browser using DataLab