From e17578bcba0895b321cbb14e4e7af40859d6f064 Mon Sep 17 00:00:00 2001 From: jgavalda Date: Fri, 31 Mar 2023 12:25:07 -0400 Subject: [PATCH] Revision of infiltration parameters --- input_files/selected_building_1517.geojson | 129 +++++++++ input_files/selected_building_1724.geojson | 113 ++++++++ input_files/selected_building_2195.geojson | 2 +- input_files/selected_building_4559.geojson | 145 ++++++++++ input_files/selected_building_839.geojson | 2 +- input_files/selected_building_9526.geojson | 311 +++++++++++++++++++++ main.py | 2 +- 7 files changed, 701 insertions(+), 3 deletions(-) create mode 100644 input_files/selected_building_1517.geojson create mode 100644 input_files/selected_building_1724.geojson create mode 100644 input_files/selected_building_4559.geojson create mode 100644 input_files/selected_building_9526.geojson diff --git a/input_files/selected_building_1517.geojson b/input_files/selected_building_1517.geojson new file mode 100644 index 0000000..76837bb --- /dev/null +++ b/input_files/selected_building_1517.geojson @@ -0,0 +1,129 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 1517, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -73.54892817129803, + 45.605145662442396 + ], + [ + -73.54882817118312, + 45.6051322616446 + ], + [ + -73.54801127110323, + 45.60502336183873 + ], + [ + -73.54801027105714, + 45.60502716237369 + ], + [ + -73.54797037083591, + 45.60518346184733 + ], + [ + -73.54871467134495, + 45.60528626155178 + ], + [ + -73.54888497056493, + 45.6053098615609 + ], + [ + -73.54888507128896, + 45.6053098615609 + ], + [ + -73.5488997707078, + 45.605253962400525 + ], + [ + -73.54892817129803, + 45.605145662442396 + ] + ] + ] + }, + "properties": { + "OBJECTID_12_13": 1517, + "ID_UEV": "02032924", + "CIVIQUE_DE": " 6255", + "CIVIQUE_FI": " 6255", + "NOM_RUE": "boulevard Joseph-Renaud (ANJ)", + "SUITE_DEBU": " ", + "MUNICIPALI": "50", + "ETAGE_HORS": 3, + "NOMBRE_LOG": 55, + "ANNEE_CONS": 1970, + "CODE_UTILI": "1000", + "LETTRE_DEB": " ", + "LETTRE_FIN": " ", + "LIBELLE_UT": "Logement", + "CATEGORIE_": "R\u00c3\u00a9gulier", + "MATRICULE8": "0151-07-1902-2-000-0000", + "SUPERFICIE": 3768, + "SUPERFIC_1": 4028, + "NO_ARROND_": "REM09", + "Shape_Leng": 0.00218341775519, + "OBJECTID": 1517, + "Join_Count": 1, + "TARGET_FID": 1517, + "feature_id": "480476b7-e71a-4190-853a-9e1be235d6a7", + "md_id": " ", + "acqtech": 1360, + "acqtech_en": "Lidar", + "acqtech_fr": "Lidar", + "provider": 461, + "provideren": "Municipal", + "providerfr": "Municipal", + "datemin": "20151124", + "datemax": "20151208", + "haccmin": 2, + "haccmax": 2, + "vaccmin": 1, + "vaccmax": 1, + "heightmin": 0.51, + "heightmax": 12, + "elevmin": 39.79, + "elevmax": 41.27, + "bldgarea": 1332.57, + "comment": "Detection of Lidar points classified as ground in the building. D\u00c3\u00a9tection de points Lidar classifi\u00c3\u00a9s sol dans le b\u00c3\u00a2timent.", + "OBJECTID_1": 1517, + "Shape_Le_1": 0.00218341775519, + "Shape_Ar_1": 1.53729465013e-07, + "OBJECTID_12": 1517, + "Join_Count_1": 1, + "TARGET_FID_1": 1516, + "g_objectid": "897441", + "g_co_mrc": "66023", + "g_code_mun": "66023", + "g_arrond": "REM09", + "g_anrole": "2019", + "g_usag_pre": "R\u00c3\u00a9sidentiel", + "g_no_lot": "1113068", + "g_nb_poly_": "1", + "g_utilisat": "1000", + "g_nb_logem": "55", + "g_nb_locau": " ", + "g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation", + "g_id_provi": "66023015107190220000000", + "g_sup_tota": "3768.1", + "g_geometry": "0.00308212", + "g_geomet_1": "4.34238e-007", + "g_dat_acqu": "2020-02-12 00:00:00.0000000", + "g_dat_char": "2020-02-17 00:00:00.0000000", + "Shape_Leng_1": 0.00218341775519, + "Shape_Area_1": 1.53729465013e-07, + "Shape_Length": 0.0021834176681906903, + "Shape_Area": 1.53729465013e-07 + } + } + ] +} \ No newline at end of file diff --git a/input_files/selected_building_1724.geojson b/input_files/selected_building_1724.geojson new file mode 100644 index 0000000..fd3a439 --- /dev/null +++ b/input_files/selected_building_1724.geojson @@ -0,0 +1,113 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 1724, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -73.5526870721506, + 45.60216746215872 + ], + [ + -73.55268167172176, + 45.60216656193734 + ], + [ + -73.5524855718516, + 45.602128962181894 + ], + [ + -73.55245337162575, + 45.602211962412184 + ], + [ + -73.55265497174952, + 45.60225046238901 + ], + [ + -73.5526870721506, + 45.60216746215872 + ] + ] + ] + }, + "properties": { + "OBJECTID_12_13": 1724, + "ID_UEV": "02034834", + "CIVIQUE_DE": " 6340", + "CIVIQUE_FI": " 6340", + "NOM_RUE": "avenue Goncourt (ANJ)", + "SUITE_DEBU": " ", + "MUNICIPALI": "50", + "ETAGE_HORS": 2, + "NOMBRE_LOG": 1, + "ANNEE_CONS": 1959, + "CODE_UTILI": "1000", + "LETTRE_DEB": " ", + "LETTRE_FIN": " ", + "LIBELLE_UT": "Logement", + "CATEGORIE_": "R\u00c3\u00a9gulier", + "MATRICULE8": "0051-63-9861-7-000-0000", + "SUPERFICIE": 539, + "SUPERFIC_1": 194, + "NO_ARROND_": "REM09", + "Shape_Leng": 0.000588408191063, + "OBJECTID": 1724, + "Join_Count": 1, + "TARGET_FID": 1724, + "feature_id": "b21198f4-f67b-439d-80b4-db24e6f4783f", + "md_id": " ", + "acqtech": 1360, + "acqtech_en": "Lidar", + "acqtech_fr": "Lidar", + "provider": 461, + "provideren": "Municipal", + "providerfr": "Municipal", + "datemin": "20151124", + "datemax": "20151208", + "haccmin": 2, + "haccmax": 2, + "vaccmin": 1, + "vaccmax": 1, + "heightmin": 0.52, + "heightmax": 5.97, + "elevmin": 41.61, + "elevmax": 42.01, + "bldgarea": 155.68, + "comment": " ", + "OBJECTID_1": 1724, + "Shape_Le_1": 0.000588408191063, + "Shape_Ar_1": 1.79531500018e-08, + "OBJECTID_12": 1724, + "Join_Count_1": 1, + "TARGET_FID_1": 1723, + "g_objectid": "898189", + "g_co_mrc": "66023", + "g_code_mun": "66023", + "g_arrond": "REM09", + "g_anrole": "2019", + "g_usag_pre": "R\u00c3\u00a9sidentiel", + "g_no_lot": "1113889", + "g_nb_poly_": "1", + "g_utilisat": "1000", + "g_nb_logem": "1", + "g_nb_locau": " ", + "g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation", + "g_id_provi": "66023005163986170000000", + "g_sup_tota": "539.4", + "g_geometry": "0.00101107", + "g_geomet_1": "6.23128e-008", + "g_dat_acqu": "2020-02-12 00:00:00.0000000", + "g_dat_char": "2020-02-17 00:00:00.0000000", + "Shape_Leng_1": 0.000588408191063, + "Shape_Area_1": 1.79531500018e-08, + "Shape_Length": 0.0005884092499674609, + "Shape_Area": 1.79531500018e-08 + } + } + ] +} \ No newline at end of file diff --git a/input_files/selected_building_2195.geojson b/input_files/selected_building_2195.geojson index 7a7c874..2b48be4 100644 --- a/input_files/selected_building_2195.geojson +++ b/input_files/selected_building_2195.geojson @@ -70,7 +70,7 @@ "vaccmin": 1, "vaccmax": 1, "heightmin": 0.88, - "heightmax": 52.01, + "heightmax": 12, "elevmin": 42.22, "elevmax": 42.79, "bldgarea": 865.78, diff --git a/input_files/selected_building_4559.geojson b/input_files/selected_building_4559.geojson new file mode 100644 index 0000000..aaa0379 --- /dev/null +++ b/input_files/selected_building_4559.geojson @@ -0,0 +1,145 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 4559, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -73.54161506788103, + 45.601481661649416 + ], + [ + -73.5416109678718, + 45.601480262304335 + ], + [ + -73.54153516761386, + 45.601453861806306 + ], + [ + -73.54158746768746, + 45.60137996181584 + ], + [ + -73.54146516798306, + 45.60133946174682 + ], + [ + -73.54084306825297, + 45.60113376161388 + ], + [ + -73.5406921773021, + 45.60108392478338 + ], + [ + -73.54052077461404, + 45.60136262198745 + ], + [ + -73.54052156781609, + 45.60136286210644 + ], + [ + -73.54137536797879, + 45.60162866213312 + ], + [ + -73.54141166821387, + 45.60164006193935 + ], + [ + -73.54136246000951, + 45.60171796031568 + ], + [ + -73.5414426669455, + 45.60174301812583 + ], + [ + -73.54161506788103, + 45.601481661649416 + ] + ] + ] + }, + "properties": { + "OBJECTID_12_13": 4559, + "ID_UEV": "02033470", + "CIVIQUE_DE": " 8200", + "CIVIQUE_FI": " 8200", + "NOM_RUE": "avenue Ch\u00c3\u00a9nier (ANJ)", + "SUITE_DEBU": " ", + "MUNICIPALI": "50", + "ETAGE_HORS": 1, + "NOMBRE_LOG": 0, + "ANNEE_CONS": 1968, + "CODE_UTILI": "7451", + "LETTRE_DEB": " ", + "LETTRE_FIN": " ", + "LIBELLE_UT": "Ar\u00c3\u00a9na et activit\u00c3\u00a9s connexes (patinage sur glace)", + "CATEGORIE_": "R\u00c3\u00a9gulier", + "MATRICULE8": "0151-52-7076-5-000-0000", + "SUPERFICIE": 9352, + "SUPERFIC_1": 2648, + "NO_ARROND_": "REM09", + "Shape_Leng": 0.00286764248284, + "OBJECTID": 4559, + "Join_Count": 1, + "TARGET_FID": 4559, + "feature_id": "7a5f890f-f521-427b-ab99-5865d0c7ec10", + "md_id": " ", + "acqtech": 1360, + "acqtech_en": "Lidar", + "acqtech_fr": "Lidar", + "provider": 461, + "provideren": "Municipal", + "providerfr": "Municipal", + "datemin": "20151124", + "datemax": "20151208", + "haccmin": 2, + "haccmax": 2, + "vaccmin": 1, + "vaccmax": 1, + "heightmin": 0.51, + "heightmax": 11.79, + "elevmin": 33.17, + "elevmax": 36.46, + "bldgarea": 2758.61, + "comment": "Detection of Lidar points classified as ground in the building. D\u00c3\u00a9tection de points Lidar classifi\u00c3\u00a9s sol dans le b\u00c3\u00a2timent.", + "OBJECTID_1": 4559, + "Shape_Le_1": 0.00286764248284, + "Shape_Ar_1": 3.15889298845e-07, + "OBJECTID_12": 4559, + "Join_Count_1": 3, + "TARGET_FID_1": 4558, + "g_objectid": "893321", + "g_co_mrc": "66023", + "g_code_mun": "66023", + "g_arrond": "REM09", + "g_anrole": "2019", + "g_usag_pre": "Institutionnel", + "g_no_lot": "1113274", + "g_nb_poly_": "1", + "g_utilisat": "6813", + "g_nb_logem": " ", + "g_nb_locau": " ", + "g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation", + "g_id_provi": "66023015153914960000000", + "g_sup_tota": "13058.8", + "g_geometry": "0.00609962", + "g_geomet_1": "1.50601e-006", + "g_dat_acqu": "2020-02-12 00:00:00.0000000", + "g_dat_char": "2020-02-17 00:00:00.0000000", + "Shape_Leng_1": 0.00286764248284, + "Shape_Area_1": 3.15889298845e-07, + "Shape_Length": 0.0028676439122661468, + "Shape_Area": 3.15889298845e-07 + } + } + ] +} \ No newline at end of file diff --git a/input_files/selected_building_839.geojson b/input_files/selected_building_839.geojson index a4786b0..32ea02b 100644 --- a/input_files/selected_building_839.geojson +++ b/input_files/selected_building_839.geojson @@ -74,7 +74,7 @@ "vaccmin": 1, "vaccmax": 1, "heightmin": 4.5, - "heightmax": 44.42, + "heightmax": 12, "elevmin": 28.66, "elevmax": 31.51, "bldgarea": 476.19, diff --git a/input_files/selected_building_9526.geojson b/input_files/selected_building_9526.geojson new file mode 100644 index 0000000..a9934ab --- /dev/null +++ b/input_files/selected_building_9526.geojson @@ -0,0 +1,311 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 9526, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + -73.56037817321408, + 45.57755455739698 + ], + [ + -73.56032347284997, + 45.5775361572679 + ], + [ + -73.56031137337112, + 45.5775311570373 + ], + [ + -73.56026317330674, + 45.57750815687598 + ], + [ + -73.56026297275793, + 45.57750795722649 + ], + [ + -73.5602523733483, + 45.577524556912806 + ], + [ + -73.56017597324251, + 45.577500456880614 + ], + [ + -73.56017337330252, + 45.57750445706512 + ], + [ + -73.56015697326569, + 45.57752955714341 + ], + [ + -73.56011457292914, + 45.57751595669612 + ], + [ + -73.5600934730353, + 45.57754835657147 + ], + [ + -73.5596595717318, + 45.57740905698245 + ], + [ + -73.55965687196704, + 45.57741305716689 + ], + [ + -73.55962537231306, + 45.577461056682466 + ], + [ + -73.55958387219789, + 45.57744765678399 + ], + [ + -73.55957857159376, + 45.57744595706532 + ], + [ + -73.55944467243364, + 45.57765675725358 + ], + [ + -73.5594445717096, + 45.57765685707835 + ], + [ + -73.55948407173247, + 45.577669657129036 + ], + [ + -73.55940487203719, + 45.57779035693949 + ], + [ + -73.55953937194442, + 45.57783385714686 + ], + [ + -73.5595467715662, + 45.577822656990065 + ], + [ + -73.55979037182817, + 45.57790145738642 + ], + [ + -73.55977687210492, + 45.57792215708196 + ], + [ + -73.55973907180066, + 45.577909857054294 + ], + [ + -73.55973397174535, + 45.577908456809894 + ], + [ + -73.55968977186546, + 45.57798675718317 + ], + [ + -73.55965797183791, + 45.57797795731693 + ], + [ + -73.55965787201313, + 45.57797805714165 + ], + [ + -73.55963357233145, + 45.578015857445905 + ], + [ + -73.55966267169492, + 45.578025056611125 + ], + [ + -73.5595531720412, + 45.57819585675344 + ], + [ + -73.55955067192593, + 45.578199657288394 + ], + [ + -73.55969427207293, + 45.578245656711715 + ], + [ + -73.55970147204528, + 45.57824795717755 + ], + [ + -73.55990817312363, + 45.57793315668988 + ], + [ + -73.56008177285548, + 45.57798935712316 + ], + [ + -73.5601113731413, + 45.577945956740564 + ], + [ + -73.56037817321408, + 45.57755455739698 + ] + ] + ], + [ + [ + [ + -73.5593626722495, + 45.577468457203565 + ], + [ + -73.55935757219419, + 45.57746655693609 + ], + [ + -73.55929927184388, + 45.57744455682092 + ], + [ + -73.55927227239744, + 45.57747985700985 + ], + [ + -73.55933557207896, + 45.57750375739255 + ], + [ + -73.5593626722495, + 45.577468457203565 + ] + ] + ], + [ + [ + [ + -73.55925947234675, + 45.57742965685321 + ], + [ + -73.55925397209307, + 45.57742815678404 + ], + [ + -73.5592286723653, + 45.57742095681175 + ], + [ + -73.55920957166438, + 45.577454356733256 + ], + [ + -73.55920737192264, + 45.57745815726821 + ], + [ + -73.5592321716274, + 45.57746455684389 + ], + [ + -73.55923657201015, + 45.57746605691307 + ], + [ + -73.55925947234675, + 45.57742965685321 + ] + ] + ] + ] + }, + "properties": { + "OBJECTID_12_13": 9526, + "ID_UEV": "02055359", + "CIVIQUE_DE": " 5750", + "CIVIQUE_FI": " 5750", + "NOM_RUE": "boulevard Rosemont (MTL)", + "SUITE_DEBU": " ", + "MUNICIPALI": "50", + "ETAGE_HORS": 0, + "NOMBRE_LOG": 0, + "ANNEE_CONS": 1923, + "CODE_UTILI": "6911", + "LETTRE_DEB": " ", + "LETTRE_FIN": " ", + "LIBELLE_UT": "\u00c3\u2030glise, synagogue, mosqu\u00c3\u00a9e et temple", + "CATEGORIE_": "R\u00c3\u00a9gulier", + "MATRICULE8": "0048-16-8416-5-000-0000", + "SUPERFICIE": 24793, + "SUPERFIC_1": 0, + "NO_ARROND_": "REM24", + "Shape_Leng": 0.00384776818364, + "OBJECTID": 9526, + "Join_Count": 3, + "TARGET_FID": 9526, + "feature_id": "5bfd7e8c-95aa-4782-9f2f-ed07d1dd2294", + "md_id": " ", + "acqtech": 1360, + "acqtech_en": "Lidar", + "acqtech_fr": "Lidar", + "provider": 461, + "provideren": "Municipal", + "providerfr": "Municipal", + "datemin": "20151124", + "datemax": "20151208", + "haccmin": 2, + "haccmax": 2, + "vaccmin": 1, + "vaccmax": 1, + "heightmin": 2.1, + "heightmax": 12, + "elevmin": 38.08, + "elevmax": 38.57, + "bldgarea": 25, + "comment": " ", + "OBJECTID_1": 9526, + "Shape_Le_1": 0.00384776818364, + "Shape_Ar_1": 3.92694421841e-07, + "OBJECTID_12": 9526, + "Join_Count_1": 1, + "TARGET_FID_1": 9525, + "g_objectid": "1586794", + "g_co_mrc": "66023", + "g_code_mun": "66023", + "g_arrond": "REM24", + "g_anrole": "2019", + "g_usag_pre": "Institutionnel", + "g_no_lot": "1361698", + "g_nb_poly_": "1", + "g_utilisat": "6911", + "g_nb_logem": " ", + "g_nb_locau": "2", + "g_descript": "Unit\u00c3\u00a9 d'\u00c3\u00a9valuation", + "g_id_provi": "66023004816841650000000", + "g_sup_tota": "24792.9", + "g_geometry": "0.00743004", + "g_geomet_1": "2.85762e-006", + "g_dat_acqu": "2020-02-12 00:00:00.0000000", + "g_dat_char": "2020-02-17 00:00:00.0000000", + "Shape_Leng_1": 0.00384776818364, + "Shape_Area_1": 3.92694421841e-07, + "Shape_Length": 0.0038477700316121004, + "Shape_Area": 3.92694421841e-07 + } + } + ] +} \ No newline at end of file diff --git a/main.py b/main.py index 64bc7a4..2b90495 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ from sra_engine import SraEngine #try: -file_path = (Path(__file__).parent / 'input_files' / 'selected_building_2195.geojson') +file_path = (Path(__file__).parent / 'input_files' / 'selected_building_839.geojson') climate_reference_city = 'Montreal' weather_file = 'CAN_PQ_Montreal.Intl.AP.716270_CWEC.epw' weather_format = 'epw'