Learn R Programming

RSEIS (version 3.7-4)

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

Side effects in the file system.

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)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab