write_mseed | R Documentation |
This function converts seismic traces to mseed files and writes them to disk. It makes use of the Python library 'ObsPy'. Thus, this software must be installed, to make use of this function.
write_mseed(data, file, time, component, station, location, network, dt)
data |
|
file |
|
time |
|
component |
|
station |
|
location |
|
network |
|
dt |
|
The ObsPy Python library can be installed following the information
provided here: "https://github.com/obspy/obspy/wiki"
.
Since the ObsPy functionality through R is not able to interpret path
definitions using the tilde symbol, e.g. "~/Downloads"
, this
Linux type definition must be avoided.
A binary file written to disk.
Michael Dietze
## Not run:
## load example data
data("rockfall")
## write as mseed file
write_mseed(data = rockfall_eseis, file = "rockfall.mseed")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.