akutkin / frb

0 stars 0 forks source link

Handle ends of Mark5 files #11

Closed ipashchenko closed 8 years ago

ipashchenko commented 8 years ago

When processing last chunk of raw data file:

Start at:
mjd = 325
sec = 79102
ns  = 0.000000
nint = 250
Real time step = 1.000000 ms
mark5_stream_decode failed. End of file?
98999 spectra (98.999 sec) were wrote in each file

This cause AssertionError now. Choose n_t depending on number of wrote spectra.

ipashchenko commented 8 years ago

resolved with f83752cd91a371402a34f26ffd75bcadbdef621f