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).
input_dir: Character value, path to input directory, i.e., the directory where the files to process are located.
output_dir: Character value, path to output directory, i.e., the directory where the processed files are written to. This must be different from input_dir.
software: Character value, path to the 'dataselect' library, required unless the path to the library is made gobally visible.
Returns
a set of mseed files written to disk.
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.