from hub.imports.geometry_factory import GeometryFactory from hub.helpers.dictionaries import Dictionaries from hub.imports.construction_factory import ConstructionFactory from hub.imports.results_factory import ResultFactory from hub.exports.exports_factory import ExportsFactory import subprocess from pathlib import Path from hub.imports.weather_factory import WeatherFactory input_file = "data/test_updated.geojson" city = GeometryFactory( "geojson", input_file, height_field="height", year_of_construction_field="year_of_construction", function_field="function", function_to_hub=Dictionaries().montreal_function_to_hub_function).city ConstructionFactory('nrcan', city).enrich() print('done')