Cannot append discontiguous TimeSeries error in detchar.py
@geoffrey.mo @leo-singer @deep.chatterjee On production there is an error inn production nof teh type:
Cannot append discontiguous TimeSeries
TimeSeries 1 span: [1244938180.4921875 ... 1244938180.9921875)
TimeSeries 2 span: [1244938181.0 ... 1244938182.0)
From gwpy/types/series.py
Generate by line 402 of detchar.py
idq_probs = dict(check_idq(caches[channel.split(':')[0]],
channel, start, end)
for channel in app.conf['idq_channels'])
### calling code at line 244
idq_prob = TimeSeries.read(
cache, channel, start=start, end=end)
Please check that this is not a bug in gwpy connected to rouding that results in two TimeSeries appearing as discontiguous even if they are not. Floting point numbers have just 16 decimal digit precision.
I was not able to locate the two time-series that the program try to join to chck this is the case and that may results in DQV/DQOK label in a wrong way.
This error is shown in: https://sentry.io/organizations/ligo-caltech/issues/994063308/?environment=production&query=is%3Aunresolved&statsPeriod=14d