obspy/obspy — pull request #534 by megies (2013-03-24 15:50:55+00:00)
Title: tmp files in obspy.arclink are not removed if download failed

whenever a download request by e.g. client.getWaveform in obspy.arclink fails, the temporary file created in /var/tmp or /tmp or whatever temporary folder is defined by environment variable TMPDIR, remains allocated on the disk, though with size 0.

we ran now into an issue that millions of those dead files had accumulated on our disk. The quick fix on our side was to remove those files manually but I'd like to ask whether this could be fixed at the source?

Thanks,
Christian