Last chance! 50% off unlimited learning
Sale ends in
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).
aux_fixmseed(file, input_dir, output_dir, software)
a set of mseed files written to disk.
Character
vector, seismic file to process.
Character
value, path to input directory, i.e.,
the directory where the files to process are located.
Character
value, path to output directory, i.e.,
the directory where the processed files are written to. This must be
different from input_dir
.
Character
value, path to the 'dataselect' library,
required unless the path to the library is made gobally visible.
Michael Dietze
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.
if (FALSE) {
aux_fixmseed(file = list.files(path = "~/data/mseed",
pattern = "miniseed"),
input_dir = "~/data/mseed",
software = "~/software/dataselect-3.17")
}
Run the code above in your browser using DataLab