Learn R Programming

Rquake (version 2.5-1)

OnePerSta: One Phase Pick Per Station

Description

Require only one pick per station of a specified phase.

Usage

OnePerSta(twpx, phase = "Y")

Value

WPX list

Arguments

twpx

WPX list

phase

character, specific phase

Author

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

Details

This is used to reduce the number of picks for specific station and phase. The purpose is avoid multiple P-wave phases for each station in the earthquake location routines.

See Also

cleanWPX, repairWPX

Examples

Run this code

s1 = RSEIS::setWPX(name="HI", phase="P", yr=2011, jd=231, hr=4, mi=3, sec = runif(5)) 
s2 = RSEIS::setWPX(name="BYE", phase="P", yr=2011, jd=231, hr=4, mi=3, sec = runif(5)) 

s3 = RSEIS::catWPX(s1, s2)

s4 = OnePerSta(s3, phase = "P")



Run the code above in your browser using DataLab