Michael Wood 2018.4.23 Python 3
Vent analyzes wind event log data.
#Usage:
##No arguments fill output.csv with wind event data from hard-coded dates
##-pm Pull (list of all) machines into pull.csv, easy hard-coded option to print JSON
##-pg Pull (list of all) gateays into pull.csv, easy hard-coded option to print JSON
##-pl Pull log, have to manually enter everything after baseUri with Arg1
- Arg1 = remaining uri for api call (e.g. /machines/64001/logs?date=2018-04-01)
##-aam Analyze all machines in machine_list.csv for wind events, output to output.csv
- Arg1 = date
##-aom <Erasmo | SecondGen> <65000 | 3900 | 1900> Analyze one machine for wind events, output to output.csv
- Arg1 = serial number (needs to match format in Cirrus)
- Arg2 = date
- Arg3 = coordinator type
- Arg4 = stow position (helps define when a machine is actually stowed)