+ "/home/walch/.local/lib/python3.6/site-packages/dask/config.py:129: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.\n",
+ " data = yaml.load(f.read()) or {}\n",
+ "/home/walch/.local/lib/python3.6/site-packages/distributed/config.py:20: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.\n",
"2158489 1631457 GE 6601 2492426.75 1115937.50 1020.0 1110.0 RES \n",
"2158490 1631458 GE 6601 2492420.00 1115924.63 1020.0 1110.0 RES \n",
"2158491 1631459 GE 6601 2492413.00 1115911.69 1020.0 1110.0 RES \n",
"2158492 1631460 GE 6601 2492393.25 1115932.31 1020.0 1110.0 RES \n",
"2158493 1631461 GE 6601 2492389.50 1115918.88 1020.0 1110.0 RES \n",
"\n",
" BLD_ID footprint N_floors floor_area \n",
"2158489 150013089.0 119.0 1.0 150.0 \n",
"2158490 150013089.0 131.0 3.0 393.0 \n",
"2158491 150013089.0 134.0 2.0 268.0 \n",
"2158492 150001743.0 119.0 2.0 238.0 \n",
"2158493 150001743.0 119.0 2.0 238.0 "
]
},
- "execution_count": 43,
+ "execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"BLD_info_GE.head()"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {},
"outputs": [],
"source": [
"BLD_info_GE.to_csv('/work/hyenergy/output/data_geneva/buildings/RegBL_GE.csv', index = False)"
]
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/numpy/lib/arraysetops.py:569: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison\n",
+ "/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: CRS mismatch between the CRS of left geometries and the CRS of right geometries.\n",
+ "Use `to_crs()` to reproject one of the input geometries to match the CRS of the other.\n",
+ "\n",
+ "Left CRS: None\n",
+ "Right CRS: EPSG:2056\n",
+ "\n",
+ " \"\"\"Entry point for launching an IPython kernel.\n"
+ "/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: CRS mismatch between the CRS of left geometries and the CRS of right geometries.\n",
+ "Use `to_crs()` to reproject one of the input geometries to match the CRS of the other.\n",
+ "\n",
+ "Left CRS: None\n",
+ "Right CRS: EPSG:2056\n",
+ "\n",
+ " \"\"\"Entry point for launching an IPython kernel.\n"
+ ]
+ }
+ ],
+ "source": [
+ "HDD_GE_df = gpd.sjoin(HDD_df, GE[['geometry', 'KANTONSNUM']], op = 'intersects')"
- "/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: CRS mismatch between the CRS of left geometries and the CRS of right geometries.\n",
- "Use `to_crs()` to reproject one of the input geometries to match the CRS of the other.\n",
- "\n",
- "Left CRS: None\n",
- "Right CRS: EPSG:2056\n",
- "\n",
- " \"\"\"Entry point for launching an IPython kernel.\n"
"/home/walch/.local/lib/python3.6/site-packages/dask/config.py:129: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.\n",
" data = yaml.load(f.read()) or {}\n",
"/home/walch/.local/lib/python3.6/site-packages/distributed/config.py:20: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.\n",
"2158489 1631457 GE 6601 2492426.75 1115937.50 1020.0 1110.0 RES \n",
"2158490 1631458 GE 6601 2492420.00 1115924.63 1020.0 1110.0 RES \n",
"2158491 1631459 GE 6601 2492413.00 1115911.69 1020.0 1110.0 RES \n",
"2158492 1631460 GE 6601 2492393.25 1115932.31 1020.0 1110.0 RES \n",
"2158493 1631461 GE 6601 2492389.50 1115918.88 1020.0 1110.0 RES \n",
"\n",
" BLD_ID footprint N_floors floor_area \n",
"2158489 150013089.0 119.0 1.0 150.0 \n",
"2158490 150013089.0 131.0 3.0 393.0 \n",
"2158491 150013089.0 134.0 2.0 268.0 \n",
"2158492 150001743.0 119.0 2.0 238.0 \n",
"2158493 150001743.0 119.0 2.0 238.0 "
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"BLD_info_GE.head()"
]
},
{
"cell_type": "code",
"execution_count": 44,
"metadata": {},
"outputs": [],
"source": [
"BLD_info_GE.to_csv('/work/hyenergy/output/data_geneva/buildings/RegBL_GE.csv', index = False)"
]
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/numpy/lib/arraysetops.py:569: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison\n",
"/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: CRS mismatch between the CRS of left geometries and the CRS of right geometries.\n",
"Use `to_crs()` to reproject one of the input geometries to match the CRS of the other.\n",
"\n",
"Left CRS: None\n",
"Right CRS: EPSG:2056\n",
"\n",
" \"\"\"Entry point for launching an IPython kernel.\n"
]
}
],
"source": [
"coords_canton = gpd.sjoin( coords_VD_GVA, GE[['geometry', 'KANTONSNUM']], op = 'intersects' )"
"/home/walch/miniconda3/envs/py3_geo/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: CRS mismatch between the CRS of left geometries and the CRS of right geometries.\n",
"Use `to_crs()` to reproject one of the input geometries to match the CRS of the other.\n",
"\n",
"Left CRS: None\n",
"Right CRS: EPSG:2056\n",
"\n",
" \"\"\"Entry point for launching an IPython kernel.\n"
]
}
],
"source": [
"HDD_GE_df = gpd.sjoin(HDD_df, GE[['geometry', 'KANTONSNUM']], op = 'intersects')"