Module buildstock_query.tools.characteristics_visualizer
Expand source code
from .upgrades_visualizer import main
__all__ = ['main']
Sub-modules
buildstock_query.tools.characteristics_visualizer.figure
buildstock_query.tools.characteristics_visualizer.plot_utils
buildstock_query.tools.characteristics_visualizer.upgrades_visualizer
-
Upgrades Visualizer Experimental Stage. :author: Rajendra.Adhikari@nrel.gov
buildstock_query.tools.characteristics_visualizer.viz_data
Functions
def main()
-
Expand source code
def main(): print("Welcome to Upgrades Visualizer.") yaml_path = inquirer.text(message="Please enter path to the buildstock configuration yml file: ", default="/Users/radhikar/Downloads/fact_sheets_category_6.yml").execute() opt_sat_path = inquirer.text(message="Please enter path to the options saturation csv file: ", default="/Users/radhikar/Downloads/options_saturations.csv").execute() workgroup = inquirer.text(message="Please Athena workgroup name: ", default="largeee").execute() db_name = inquirer.text(message="Please enter database_name " "(found in postprocessing:aws:athena in the buildstock configuration file): ", default='largeee_test_runs').execute() table_name = inquirer.text(message="Please enter table name (same as output folder name; found under " "output_directory in the buildstock configuration file). [Enter two names " "separated by comma if baseline and upgrades are in different run] :", default="medium_run_baseline_20230622,medium_run_category_6_20230707" ).execute() if ',' in table_name: table_name = table_name.split(',') app = _get_app(yaml_path=yaml_path, opt_sat_path=opt_sat_path, workgroup=workgroup, db_name=db_name, table_name=table_name) app.run_server(debug=False, port=8005)