baseline_conf - bruno-beloff/scs_analysis GitHub Wiki

docs > software repositories > scs_analysis > commands > estate management


DESCRIPTION

The baseline_conf utility is used to specify the operating parameters of the baseline utility.

Aggregation periods must be whole divisors of one hour, i.e. 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, or 30 minutes.

Note that if the start time is a later hour than the end time, then the start time is interpreted as that hour on the previous day.

Any number of separate baseline_conf files may be stored. The --list flag lists those that are available.

SYNOPSIS

baseline_conf.py [-a] { -z | -l | -c NAME [-t TIMEZONE_NAME] [-s START] [-e END] [-p AGGREGATION] [-g GAS MINIMUM] [-r GAS] } [-i INDENT] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-a, --aws Use AWS S3 instead of local storage for configuration
-z, --zones list the available timezone names to stderr
-l, --list list the available baseline configurations
-c CONF_NAME, --conf-name=CONF_NAME the name of the baseline configuration
-t LAB_TIMEZONE, --lab-timezone=LAB_TIMEZONE set the timezone for the tests
-s START_HOUR, --start-hour=START_HOUR test starts at the beginning of start hour
-e END_HOUR, --end-hour=END_HOUR test ends at the beginning of end hour
-p AGGREGATION, --aggregation-period= AGGREGATION aggregation in minutes
-g SET_GAS, --set-gas=SET_GAS set minimum for GAS
-r REMOVE_GAS, --remove-gas=REMOVE_GAS remove GAS from minimums
-i INDENT, --indent=INDENT pretty-print the output with INDENT
-v, --verbose report narrative to stderr

EXAMPLES

./baseline_conf.py -c freshfield -t Europe/London -s 23 -e 8 -a 5 -g NO2 10

FILES

~/SCS/conf/baseline_conf.json

DOCUMENT EXAMPLE

{"lab-timezone": "Europe/London", "start-hour": 17, "end-hour": 8, "aggregation-period": {"interval": 5, "units": "M"}, "gas-minimums": {"CO": 200, "CO2": 420, "H2S": 5, "NO": 10, "NO2": 10, "SO2": 5}}

SEE ALSO

scs_analysis/baseline

scs_dev/gases_sampler