simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
15 stars 17 forks source link

Imprinter / Bookbinder co-sampling check #534

Open kmharrington opened 1 year ago

kmharrington commented 1 year ago

This was an issue during to SAT1 cooldown in the highbay. Most of the pieces were set up but we were missing at least one thing. So the data files are written to have high-precision timing but the data between the different UFMs were not actually co-sampled. Book binder needs to throw errors if this happens.

msilvafe commented 9 months ago

Cosampling check isn't done until binding step, should be done earlier in the bookbinder preprocess step here: https://github.com/simonsobs/sotodlib/blob/da3e6e518fde5aba1b64ceca29a506f9c3b45670/sotodlib/io/bookbinder.py#L668-L673