We had a book on satp2 where the Azimuth readings where going in and out. With this message:
>>> print(book.message)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/sotodlib/io/imprinter.py", line 840, in _run_book_binding
binder.bind(pbar=pbar)
File "/usr/local/lib/python3.12/site-packages/sotodlib/io/bookbinder.py", line 1310, in bind
self.ancil.bind(self.outdir, self.times, self.frame_idxs, self.file_idxs)
File "/usr/local/lib/python3.12/site-packages/sotodlib/io/bookbinder.py", line 433, in bind
raise err
sotodlib.io.bookbinder.DroppedMountData: acu.acu_udp_stream.Corrected_Azimuth dropped [1260 311 2259 4110 6041 2161 401 4680] samples over [ 6.29999995 1.55500388 11.29500365 20.54999971 30.20499945 10.80499625
2.00502515 23.39999986] seconds. Interpolation may be questionable.
with this, when I tried to run so-data-package satp2 report the regex parsing here:
|
pattern = r"dropped\s*\[(.*?)\]\s*samples over\s*\[(.*?)\]" |
fails.
(there's an '\n' inside the list of numbers and that is the issue).
We had a book on satp2 where the Azimuth readings where going in and out. With this message:
with this, when I tried to run
so-data-package satp2 reportthe regex parsing here:sotodlib/sotodlib/io/imprinter_cli.py
Line 261 in b278010
(there's an
'\n'inside the list of numbers and that is the issue).