dogetsac {RSEIS}R Documentation

Get SAC files

Description

Get a set of SAC files given file names

Usage

dogetsac(fnames)

Arguments

fnames vector of file names

Details

Program uses C-code to read in binary SAC files and returns the header information and the time series data.

Value

RSEIS list

Note

Sometimes information in the SAC header is omitted by the user and instead stored in the file name. In that case the station name and component name will have to be replaced by the appropriate string from the file name.

Author(s)

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

See Also

ZGET.sac, PICK.GEN, JGET.seis, Package:Rsac

Examples


## Not run: 
fnames=list.files("20020122", pattern="SAC", full.names=TRUE)

ZH = dogetsac(fnames)
PICK.GEN(ZH)

## End(Not run)

[Package RSEIS version 2.1-4 Index]