obspy.clients.fdsn.mass_downloader.download_helpers.Station.sanitize_downloads

Station.sanitize_downloads(logger)[source]

Should be run after the MiniSEED and StationXML downloads finished. It will make sure that every MiniSEED file also has a corresponding StationXML file.

It will delete MiniSEED files but never a StationXML file. The logic of the download helpers does not allow for a StationXML file with no data.