nrel.hive.reporting.handler.kepler_handler
Module Contents
Classes
handles events and appends them to the event.log output file based on global logging settings |
Attributes
- nrel.hive.reporting.handler.kepler_handler.PREFIX = Multiline-String
Show Value
""" { "type": "FeatureCollection", "features": [ """
- nrel.hive.reporting.handler.kepler_handler.SUFIX = Multiline-String
Show Value
""" ] } """
- class nrel.hive.reporting.handler.kepler_handler.KeplerHandler(scenario_output_directory: pathlib.Path)[source]
Bases:
nrel.hive.reporting.handler.handler.Handlerhandles events and appends them to the event.log output file based on global logging settings
- handle(reports: List[nrel.hive.reporting.reporter.Report], runner_payload: nrel.hive.runner.runner_payload.RunnerPayload) None[source]
Capture the current states/locations of all vehicles and save in the in memory Dict and write complete trips to the kepler.json file
- close(runner_payload: nrel.hive.runner.runner_payload.RunnerPayload) None[source]
Grab the final states/locations of all of the vehicles and write them to the kepler.json