R: Read 1D velocity model

Get1Dvel {RSEIS} | R Documentation

## Read 1D velocity model

### Description

Read in a velocity model

### Usage

    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

    ## 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)

[Package RSEIS version 3.7-4 Index]