gas_model_conf - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > greengrass integration
DESCRIPTION
The gas_model_conf utility is used to specify how Greengrass data interpretation models are to be accessed:
- UDS_PATH - the Unix domain socket for communication between the gas sampler and the inference server
- INTERFACE - the format of the request and response
- MODEL - Greengrass ML configuration template
If present, the gas model must match the PMx model.
The gases_sampler and Greengrass container must be restarted for changes to take effect.
SYNOPSIS
gas_model_conf.py [{ -l | [-u UDS_PATH] [-i INTERFACE] [-m MAP] | -d }] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-u UDS_PATH, --uds-path=UDS_PATH | set the UDS path (relative to ~/SCS) |
-i MODEL_INTERFACE, --interface=MODEL_INTERFACE | set the interface code { s1 | vB | vB2 | vE } |
-m MODEL_MAP, --model-map=MODEL_MAP | set the model map { oE.1 | oM.2 | uE.1 } |
-d, --delete | delete the inference configuration |
-v, --verbose | report narrative to stderr |
EXAMPLES
./gas_model_conf.py -u pipes/lambda-gas-model.uds -i vE -m oM.2
FILES
~/SCS/conf/gas_model_conf.json
DOCUMENT EXAMPLE
{"uds-path": "pipes/lambda-gas-model.uds", "model-interface": "vE", "model-compendium-group": "oE.1"}
SEE ALSO
scs_mfr/aws_group_setup
scs_mfr/gas_baseline
scs_mfr/pmx_model_conf
scs_mfr/vcal_baseline