Allow heterodyne pipeline to ignore problematic GW frame files
Currently, the heterodyne pipeline files if any frame files that it's asked to use fail to be read in. The idea behind this was that you should only supply it with good frame files. However, it seems that this approach is a bit naive and there are cases where it would be useful to just ignore a file that cannot be read (it may be corrupt or otherwise inaccessible). I should add a flag that can be set to either be strict in requiring all frame files to be read in or can be relaxed and ignore any problematic files.
This could be done by modifying get_frame_data
here to only throw exceptions if the strict setting is in place otherwise returning None
. And then, add a check here that if data is None
continue
's to loop after iterating the counter
.