UCBerkeleySETI / blimpy

Breakthrough Listen I/O Methods for Python

Home Page:https://blimpy.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Try to remove HDF5 files that cannot be fully written due to an exception

texadactyl opened this issue · comments

In hdf_writer.py, should an exception occur in the middle of writing, function __write_to_hdf5_heavy() will now try to remove it so that an incomplete/damaged file is not produced. Note that if the exception is due to running out of disk space, this effort might fail.