write_sac | R Documentation |
This function converts seismic traces to sac files and writes them to disk.
write_sac(
data,
file,
time,
component,
unit,
station,
location,
network,
dt,
autoname = FALSE,
parameters,
biglong = FALSE
)
data |
|
file |
|
time |
|
component |
|
unit |
|
station |
|
location |
|
network |
|
dt |
|
autoname |
|
parameters |
|
biglong |
|
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.
A binary file written to disk.
Michael Dietze
## Not run:
## load example data
data("rockfall")
## write as sac file
write_sac(data = rockfall_eseis)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.