write1segy {RSEIS}R Documentation

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.

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.

Value

Side effects in the file system.

Note

The Endian-ness of the output file will be the native endian-ness of the system.

Author(s)

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

See Also

rseis2segy, read1sac, read1segy

Examples

## Not run: 
tdir = tempdir()

bed =  read1segy(fn1   , Iendian = 1 , HEADONLY=FALSE, BIGLONG=FALSE)

haname =  write1segy(bed  , fn=paste(tdir,"jimmy.SEGY", sep='/') , BIGLONG=FALSE)


## End(Not run)


[Package RSEIS version 4.2-0 Index]