lsst.ts.ess.csc¶
Overview¶
The ESS Commandable SAL Component (CSC) reads various environmental sensors at the Vera C. Rubin Observatory, and publishes the resulting data in ESS telemetry topics. There will be at least one, and likely several, ESS CSC(s) running at Rubin Observatory.
ESS stands for Environmental Sensors Suite.
User Guide¶
To run an instance of the ESS CSC:
run_ess_csc.py sal_index
The sal_index
you specify must have a matching entry in the configuration you specify in the start
command, else the command will fail.
This command-line script supports --help
.
Configuration¶
Configuration files are stored in ts_config_ocs.
There should be one standard configuration file for each site. Each configuration file specifies configuration for all ESS SAL indices supported at that site. To run all ESS CSCs appropriate for a site, examine the configuration file and run one ESS CSC for each entry in it.
The ESS CSC uses “data clients” to communicate with environmental data servers and publish the telemetry, in order to flexibly handle different kinds of data servers. Each data client class has its own configuration schema. A CSC configuration file primarily contains of a list of sal_index: configuration for a data client.
This ts_ess_csc package defines most of our data clients, including:
RPiDataClient
, which communicates with Raspberry Pi 4 data servers running ts_ess_controller software.
A few that use hard-to-install libraries are defined in ts_ess_labjack and possibly other packages.
Developer Guide¶
Documentation for sensors is in is in ts_ess_common, along with documentation of the API for the ts_ess_controller server and instructions for supporting a new kind of sensor.
Python API reference¶
lsst.ts.ess.csc Package¶
Functions¶
|
Compute the circular mean and circular standard deviation of an array of angles in degrees. |
|
Compute the median and estimated standard deviation using quantiles. |
Classes¶
|
Accumulate air flow data from a 2-d anemometer. |
|
Accumulate air turbulence data from a 3-d anemometer. |
|
Get environmental data from sensors connected to an ESS Controller. |
|
Accumulate electric field data from a detector. |
|
Upper level Commandable SAL Component for the Environmental Sensors Support. |
|
Get lightning and electrical field strength data from a Raspberry Pi. |
|
Mock Young 32400 data server. |
|
Get environmental data from a Raspberry Pi with custom hat. |
Get data from a Siglent SSA3000X Spectrum analyzer. |
|
|
Generate simulated raw data for the Young 32400 weather station. |
|
Get environmental data from Young 32400 weather station serial interface. |
Class Inheritance Diagram¶
Contributing¶
lsst.ts.ess.csc
is developed at https://github.com/lsst-ts/ts_ess_csc.
You can find Jira issues for this module using labels=ts_ess_csc.