Learn R Programming

RSEIS (version 3.5-2)

write1segy: Write One segy file

Description

Write out one segy binary format file.

Usage

write1segy(alist, fn = NULL, BIGLONG = FALSE) write1sac(alist, fn = NULL, BIGLONG = FALSE)

Arguments

alist
list of traces with segy/sac header and an integer/real format time series
fn
Output file name
BIGLONG
logical, indicating whether long is 8 or 4 bytes.

Value

Details

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.

See Also

rseis2segy, read1sac, read1segy

Examples

Run this code
## Not run: 
# 
# bed =  read1segy(fn1   , Iendian = 1 , HEADONLY=FALSE, BIGLONG=FALSE)
# 
# haname =  write1segy(bed  , fn="jimmy.SEGY", BIGLONG=FALSE)
# 
# ## End(Not run)

Run the code above in your browser using DataLab