Learn R Programming

RSEIS (version 2.3-3)

Mine.seis: Mine a seismic data base to extract secions of time limited data

Description

Mine a seismic data base to extract secions of time limited data

Usage

Mine.seis(at1, at2, DB, grepsta, grepcomp, kind = 1, Iendian=1, BIGLONG=FALSE, CHOP=TRUE, verbose=FALSE)

Arguments

at1
time 1 in julian days
at2
time 2 in julian days
DB
data base structure to searcth through that provides the files where data is to extracted from
grepsta
which stations to extract
grepcomp
which components to extract
kind
kind of data, segy=1, sac=2
Iendian
Endian-ness of the data: 1,2,3: "little", "big", "swap". Default = 1 (little)
BIGLONG
logical, TRUE=long=8 bytes
CHOP
cut the data to a window using CHOP.SEISN
verbose
print out intermediate information for debugging

Value

  • list of seismograms cut from the database

Details

The data base is a list or dataframe containing the files names, the beginning time (t1) and ending time (t2) for each file in the data base. Mine.seis uses grep on the file names to extract specific files from the DB list.

Mine.seis needs to know what format the data was created in: little/big endian and the size of the LONG.

If data was created on a little endian machine but is being read on big endian machine, need to call the endian "swap" for swapping.

If data was created on a machine with LONG=4 bytes, be sure to call the program with BIGLONG=FALSE.

Use sysinfo to findout the system parameters for the local system. You need to know, however, what machine the binary files were created on.

See Also

GLUEseisMAT, JGET.seis, JSAC.seis, JSEGY.seis, sysinfo