Closed rvweeren closed 1 month ago
Work around is in place, manually closing the file (not the nicest solution but it works, the real issue seems to be losoto that leaves the h5 open...).
Turns out this was caused by several missing H.close() (because of an early return out of a function)
Fixed in today's update.
https://github.com/rvweeren/lofar_facet_selfcal/blob/c2c8c1eea5d2f8104145eb9e61688e39d41e4e2e/facetselfcal.py#L3929
@cgroeneveld For some reason, this function does not close the hdf5 file (maybe the "get" operations cause a cascade of other openings?). Because the hdf5 stays open other steps down the line crash (like h5_merger).