XLAL I/O Error in make_omegascan
We are currently having an issue with our instance of gwcelery running in Kubernetes, where the code on this line in make_omegascan
: https://git.ligo.org/emfollow/gwcelery/-/blob/main/gwcelery/tasks/detchar.py#L132 to read the frame data using gwpy.timeseries.TimeSeries.read
.
An example of the make_omegascan function call is the following that is giving us the error:
make_omegascan('H1',1331537687,[0.5,2,10])
and I have a single file in the llhoft_glob
with the correct GPS start time (10 seconds before t0=1331537687
):
H-H1_llhoft-1331537677-1.gwf
Then if I call make_omegascan
with this setup it tries to read more frames than is available in this frame:
XLAL Error - XLALFrStreamGetREAL8TimeSeries (LALFrStreamReadTS_source.c:125): End of frame stream while 311296 points remain to be read
Where 311296/16384(number of points in the h(t) channel) = 19, it is trying to read the extra 19 seconds worth of frames from this file, which is not available.
I have also tried adding more files at the next GPS timestep, but it still tries to read all 20 seconds worth of data from the 1st frame.
Does anyone have any idea why this is happening?