rseis2segy | R Documentation |
Convert RSEIS to SEGY/SAC format
rseis2segy(GH, sel = 1, win = c(0, 1), path = ".", BIGLONG = FALSE)
rseis2sac(GH, sel = 1, win = c(0, 1), path = ".", BIGLONG = FALSE)
GH |
RSEIS format list |
sel |
select traces to convert |
win |
vector, t1 and t2 window each trace |
path |
path to directory where files are created |
BIGLONG |
logical, indicating whether long is 8 or 4 bytes. |
This is the converse of the segy2rseis routine.
Segy format files are in integer format. The time series ususally represents counts recorded in a data acquisition system. The header includes meta-data and other identifying information.
Side effects in file system
The Endian-ness of the output file will be the native endian-ness of the system.
Jonathan M. Lees<jonathan.lees@unc.edu>
write1segy, write1sac, read1sac, read1segy, sac2rseis, segy2rseis
data(KH)
apath = tempdir()
J = rseis2segy(KH, sel=1, path=apath, BIGLONG=FALSE )
L = list.files(path=J, full.names=TRUE)
Z = read1segy(L[1], Iendian = 1, HEADONLY = FALSE, BIGLONG = FALSE)
# data(KH)
# apath = tempdir()
J = rseis2sac(KH, sel = 1, win = c(0, 1), path = apath, BIGLONG = FALSE)
L = list.files(path=J, full.names=TRUE)
Z = read1sac(L[1], Iendian = 1, HEADONLY = FALSE, BIGLONG = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.