Skip to content

Missing trains in data

Sometimes we do not realize that a lot of data are missing, while we probably want to display a message, raise a warning, whatever.

To compute the data rate from a run, one can:

import toolbox_scs as tb

proposal = 5836
runNB =  302

run, data = tb.load(proposal, runNB, ['SCS_SA3'])
print(f"data rate: {(data.dims['trainId']/(data['trainId'][-1] - data['trainId'][0] + 1) * 100).values:.1f}%")

and get data rate: 83.2 %

Maybe we can raise a warning if we get less than 95% of the data in tb.load?

@mercadil

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information