Learn R Programming

Rquake (version 2.5-1)

latlonz2wpx: Add Lat-Lon-Z to WPX list

Description

Given an existing list of seismic picks, add Latitude, Longitude and Elevation associated with the indicated station.

Usage

latlonz2wpx(twpx, stas)

Value

Pick file with LLZ added as list members.

Arguments

twpx

List of picks from swig

stas

station list

Author

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

Details

The names of the stations are matched to the station names int he station file.

See Also

Klocate

Examples

Run this code


data(GH, package='RSEIS')
WW = RSEIS::uwpfile2ypx(GH$pickfile)

twpx  = latlonz2wpx(WW, GH$pickfile$STAS )


Run the code above in your browser using DataLab