OnePerSta: One Phase Pick Per Station

Description

Require only one pick per station of a specified phase.

Usage

1
OnePerSta(twpx, phase = "Y")

Arguments

twpx

WPX list

phase

character, specific phase

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.

Value

WPX list

Note

For S-waves there may be multiple S-wave arrivals, as in the case for shear wave splitting. In that case it is probably best to name the phases differently, as in S1, S2, for example.

Author(s)

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

See Also

cleanWPX, repairWPX

Examples

1
2
3
4
5
6
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")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.