Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Arguments

fn

character, file path name

skip

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

Details

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

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

Note

Be careful about headers and lines that need to be skipped.

for IRIS: http://www.iris.washington.edu/data/event/eventsearch.htm

For ANSS: http://www.quake.geo.berkeley.edu/anss/catalog-search.html

For NEIC (yet to be added) http://earthquake.usgs.gov/earthquakes/eqarchives/epic/epic_global.php

Author(s)

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

See Also

getjul

Examples

## Not run: 
fn <- "/home/lees/WORK/SENDAI.EVENT/catsearch.8757"

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

## End(Not run)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.