Learn R Programming

RSEIS (version 4.2-4)

ASCII.SEISN: ASCII RSEIS data dump

Description

Write RSEIS list to a file in ASCII format.

Usage

ASCII.SEISN(GH, sel = 1, HEAD = TRUE, destdir='.' )

Value

Side effects - files are created.

Arguments

GH

RSEIS list

sel

vector, select which ttraces to write

HEAD

logical, TRUE will put a header in the file

destdir

character, path to folder to deposit output file

Author

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

Details

Used for data exchange for users who do not want to use RSEIS. The header consists of one line start date (yr, jd, hr, min, sec) and sample rate (dt).

Examples

Run this code

if (FALSE) {
##### this example creates an ascii version of the
#####   seismic data for exchange purposes
data("GH")
tempd = tempdir()
sel <-  which(GH$COMPS == "V" & GH$STNS=="CE1"   )
ASCII.SEISN(GH, sel = 1, HEAD = TRUE, destdir=tempd)
}


Run the code above in your browser using DataLab