Read 1D velocity model

Description

Read in a velocity model

Usage

1
Get1Dvel(infile, PLOT = TRUE)

Arguments

infile

Path to ascii-text model

PLOT

logical, TRUE=plot

Details

Reads Velocity model from a text file

Value

LIST:

zp

vector of Tops of Layers, P-wave, (km)

vp

vector of velocities of Layers, P-wave,(km/s)

ep

errors for velocities, P-wave,(km/s)

zs

vector of Tops of Layers, S-wave, (km)

vs

vector of velocities of Layers, S-wave,(km/s)

es

errors for velocities, S-wave,(km/s)

name

character, name of model

descriptor

character vector description of model

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

1
2
3
4
5
6
7
8
## Not run:  VELMOD1D = Get1Dvel("/home/lees/Progs/R_PAX/wu_coso.vel", PLOT=TRUE)
## Not run: 
data(VELMOD1D)

Get1Dvel(VELMOD1D, PLOT=TRUE)

## End(Not run)
 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.