airnow_site_conf - bruno-beloff/scs_mfr GitHub Wiki

docs > software repositories > scs_mfr > commands > AirNow-I data infrastructure


DESCRIPTION

The airnow_site_conf utility is used to set the site code and any parameter occurrence codes associated with the AirNow-I project. The airnow_site_conf utility is used to set the site code and any parameter occurrence codes associated with the AirNow-I project. If available, the configuration is published by the scs_dev/status_sampler utility.

For remote configuration, the airnow_site_conf utility should be made accessible via the scs_dev/control_receiver.

The utility can be used to list the available countries and AQCSV parameter codes.

SYNOPSIS

airnow_site_conf.py { -c | -p | [-s COUNTRY LOC IS_MOBILE] [-o PARAM POC] [-d PARAM] } [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-c, --countries list the available countries to stdout
-p, --parameters list the available parameters to stdout
-s SITE, --site=SITE set site country code, 9 digit location code and mobile status (1 or 0)
-o POC, --poc=POC add or update a parameter occurrence code
-d DELETE, --delete=DELETE delete a parameter occurrence code
-v, --verbose report narrative to stderr

EXAMPLES

./airnow_site_conf.py -v -s 850 123456789 1 -o 88102 2

FILES

~/SCS/aws/airnow_site_conf.json

DOCUMENT EXAMPLE

{"site": "850MM123456789", "pocs": {"88102": 2}}

SEE ALSO

scs_analysis/aws_mqtt_control
scs_dev/control_receiver
scs_dev/status_sampler

RESOURCES

https://www.airnow.gov/