gas_response_summary - bruno-beloff/scs_analysis GitHub Wiki
docs > software repositories > scs_analysis > commands > filtering and aggregating data
DESCRIPTION
The gas_response_summary utility is used to collect aggregated data from multiple devices for the purposes of comparison of zero offset and sensitivity, for AAN-803 electrochems, SCD30 CO2 sensor, PID VOC sensor, and and ML model outputs.
AAN-803 sources are:
- CO
- Ox
The --credentials flag is only required where the user wishes to store multiple identities. Setting the credentials is done interactively using the command line interface.
SYNOPSIS
gas_response_summary.py [-c CREDENTIALS] [-s START] [-e END] [-i INDENT] [-v] DEVICE_TAG_1 [... DEVICE_TAG_N]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-c CREDENTIALS_NAME, --credentials=CREDENTIALS_NAME | the stored credentials to be presented |
-s START, --start=START | start time (default 24 hours ago) |
-e END, --end=END | end time (default now) |
-i INDENT, --indent=INDENT | pretty-print the output with INDENT |
-v, --verbose | report narrative to stderr |
EXAMPLES
gas_response_summary.py -v -c super scs-bgx-531 scs-bgx-906 scs-bgx-913 | csv_writer.py -v -s scs-group-gases-2024-06-21.csv
DOCUMENT EXAMPLE
{"tag": "scs-bgx-531", "rec": "2024-06-21T08:53:00Z", "val": {"Ox": {"cnc": {"min": 41.4, "mid": 46.4, "max": 59.2, "upper-range": 12.8}}}, "exg": {"src": "uE.1", "val": {"NO2": {"cnc": {"min": 6.7, "mid": 12.3, "max": 19.6, "upper-range": 7.3}}, "NO": {"cnc": {"min": 3.4, "mid": 5.6, "max": 8.3, "upper-range": 2.7}}, "SO2": {"cnc": {"min": 1.2, "mid": 3.4, "max": 6.5, "upper-range": 3.1}}}}}
SEE ALSO
scs_analysis/cognito_user_credentials
scs_analysis/sample_range