simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Timestream Aggregator should create new files on new data acquisition #20

Closed BrianJKoopman closed 5 years ago

BrianJKoopman commented 5 years ago

In the current version, the timestream aggregator would always write files of the configured length (default 1 hr). This would cause multiple operations which may produce other timestamped files, like tuning files, to end up in a single .g3 file. To make it convenient for the user to associate .g3 files on disk with other files produced at the same time we should start new files for each acquisition.

BrianJKoopman commented 5 years ago

This was implemented in #23 with some timing based logic. It could still be improved with explicit notification of the start/end of an acquisition.