In [1]:
flags=[]
In [8]:
timestep_count=12
count=10
In [9]:
if timestep_count*11./12. < count < timestep_count:
flags.append('missing a little data')
elif timestep_count < count <= timestep_count*11./12.:
flags.append('missing some data')
elif timestep_count/12. <= count <= timestep_count/2.:
flags.append('missing lots of data')
elif count == 0:
flags.append('no data')
In [10]:
timestep_count
Out[10]:
In [ ]: