simonsobs / sisock

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

Generalize thermometry data server by adding Feed env variable #38

Closed BrianJKoopman closed 5 years ago

BrianJKoopman commented 5 years ago

The thermometry data server was subscribing to the OCS data feeds for the Lakeshore devices with a hardcoded crossbar pub/sub address of "observatory.{TARGET}.feeds.temperatures". We now have more than just temperature sensors to readout for live monitoring. This pull request generalizes the data server by adding a "FEED" environment variable and now subscribes using "observatory.{TARGET}.feeds.{FEED}".

I've renamed thermometry to data_feed where needed, and updated the documentation for this data server to describe the FEED parameter.

This change still requires one copy of this data server running per combination TARGET + FEED. The topic of making this server handle all feeds has been brought in conversation, and has certain pros and cons. I will open an Issue to discuss.