aux_fixmseed {eseis} | R Documentation |
Fix corrupt miniseed files
Description
This function is a wrapper for the library 'dataselect' from IRIS. It reads a corrupt mseed file and saves it in fixed state. Therefore, the function requires dataselect being installed (see details).
Usage
aux_fixmseed(file, input_dir, output_dir, software)
Arguments
file |
|
input_dir |
|
output_dir |
|
software |
|
Details
The library 'dataselect' can be downloaded at https://github.com/iris-edu/dataselect and requires compilation (see README file in dataselect directory). The function goes back to an email discussion with Gillian Sharer (IRIS team), many thanks for pointing me at this option to process corrupt mseed files.
Value
a set of mseed files written to disk.
Author(s)
Michael Dietze
Examples
## Not run:
aux_fixmseed(file = list.files(path = "~/data/mseed",
pattern = "miniseed"),
input_dir = "~/data/mseed",
software = "~/software/dataselect-3.17")
## End(Not run)