simonsobs / sisock

Sisock ('saɪsɒk): streaming of Simons Obs. data over websockets for quicklook
Other
2 stars 0 forks source link

move `_down_sample_data` from g3_reader to so3g library #48

Open BrianJKoopman opened 4 years ago

BrianJKoopman commented 4 years ago

See https://github.com/simonsobs/sisock/pull/46#issuecomment-527619979

It'd probably be generally useful for so3g to be able to do the downsampling that the g3_reader data server is doing. This one function should be pretty portable. Moving will just take coordinating the updates to both repos, and adapting to any changes requested for so3g.

ahincks commented 4 years ago

Agreed.

And, to respond to another point you made in https://github.com/simonsobs/sisock/pull/46#issuecomment-545033571, I also agree that we want downsampled files. There needs to be a service somewhere that creates these once data are available. My idea was that the same service that registers new files in the Librarian could do this, and then also register the downsampled files as well.