distseisnXY: Distances from an RSEIS list

Description Usage Arguments Value Note Author(s) Examples

View source: R/distseisnXY.R

Description

Distances from an RSEIS list

Usage

1
distseisnXY(GH, sta=list(nam="", x=0 , y=0 , z=0) , LOC=list(x=0, y=0 , z=0))

Arguments

GH

Rseis list structure

sta

station list(x,y,z)

LOC

location list(x,y,z)

Value

list:

Note

Locations of stations and source should be projected.

Author(s)

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

Examples

1
2
3
4
5
6
7
8
data(GH)
###   assume the lat lon in GH are x, y (projected)

staxy <-  list(nam=GH$stafile$name, x=GH$stafile$lon,
               y=GH$stafile$lat, z=GH$stafile$z)
 LOC <- list(x=GH$pickfile$LOC$lon, y=GH$pickfile$LOC$lat,
             z=GH$pickfile$LOC$z)
distseisnXY(GH, sta =staxy, LOC = LOC)

RSEIS documentation built on Aug. 2, 2021, 5:07 p.m.