Learn R Programming

RSEIS (version 2.3-3)

BKpfile2ypx: Read output of ttimes

Description

Convert a teleseismic pickfile to structure usefule for PICK.GEN. Takes as input the output file of program ttimes, by Brian Kennett, which uses the TauP method.

Usage

BKpfile2ypx(P)

Arguments

P
output of TTteles

Value

  • List of PICKS:
  • tagtag for unique identification of trace
  • namestation name
  • compcomponent name
  • c3three element id
  • phasephase name
  • erruncertainity of arrival time
  • polpolarity
  • flgflag for location program
  • resresidual fom predicted model
  • yryear
  • momonth
  • domday of month
  • jdJulian day
  • hrhour
  • miminute
  • secsecond
  • colcolor for plotting
  • onofflogical, flag whether to plot or not
  • catcategory (usually equal to phase)

Details

The output of TTteles includes: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

See Also

TTteles, gwpix2ypx, uwpfile2ypx, PICK.GEN

Examples

Run this code
cmdd = paste(sep=' ', "ttBK 0 ", i , " > ttBK.tempoutput")
system(cmdd )

 A = scan(file="ttBK.tempoutput", list(num=0, phase="", sec=0, tmin=0, tsec=0, dtdd=0, dtdh=0, dddp=0), skip=1)
      attr(A, 'name') = "NPL"
       attr(A, 'input') = list(delta=i , depth=0)

Run the code above in your browser using DataLab