write_sac {eseis} | R Documentation |
Write seismic traces as sac file to disk.
Description
This function converts seismic traces to sac files and writes them to disk.
Usage
write_sac(
data,
file,
time,
component,
unit,
station,
location,
network,
dt,
autoname = FALSE,
parameters,
biglong = FALSE
)
Arguments
data |
|
file |
|
time |
|
component |
|
unit |
|
station |
|
location |
|
network |
|
dt |
|
autoname |
|
parameters |
|
biglong |
|
Details
For description of the sac file format see https://ds.iris.edu/files/sac-manual/manual/file_format.html. Currently the following parameters are not supported when writing the sac file: LAT, LON, ELEVATION, NETWORK.
Value
A binary file written to disk.
Author(s)
Michael Dietze
Examples
## Not run:
## load example data
data("rockfall")
## write as sac file
write_sac(data = rockfall_eseis)
## End(Not run)