{
"cells": [
{
"cell_type": "markdown",
"id": "5fbc1dee",
"metadata": {
"id": "5fbc1dee"
},
"source": [
"# July 2021 floods: starter notebook\n",
"\n",
"This notebook does two things:\n",
"1. **Connects** you to the challenge data in the cloud. Nothing is downloaded, and no login is needed: the data is public.\n",
"2. **Shows what data is available** (EMS flood maps, EFAS flood hazard, GHS-OBAT buildings, GHS-POP population for DE, BE, NL).\n",
"\n",
"Click **Run all**. Works in Colab and on a laptop.\n",
"\n",
"Not using Colab? (VS Code, Jupyter, any Python)
\n",
"\n",
"1. `pip install gcsfs pyogrio rasterio geopandas shapely ipykernel`\n",
" (on Windows, if that fails: `conda install -c conda-forge geopandas rasterio pyogrio gcsfs`)\n",
"2. VS Code: install the Python and Jupyter extensions and pick your environment as kernel. If the packages are already installed there, you can skip the `pip install` cell below. After installing, restart the kernel.\n",
"\n",
"**Problems:** *connection or timeout errors* → check your internet connection and retry · *`No such file` on a path* → run the Explore cell to see the exact file names · *`ModuleNotFoundError`* → the kernel and your terminal use different Pythons: install with `%pip install gcsfs` inside the notebook, then restart the kernel.\n",
"\n",
"
| \n", " | \n", " | \n", " | \n", " | layer | \n", "
|---|---|---|---|---|
| cc | \n", "aoi | \n", "ptype | \n", "ver | \n", "\n", " |
| be | \n", "AOI01 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|||
| AOI02 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesA, facili... | \n", "|
| PRODUCT | \n", "areaOfInterestA, facilitiesL, hydrographyA, hy... | \n", "|||
| de | \n", "AOI01 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesA, facili... | \n", "
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|||
| AOI03 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesA, facili... | \n", "|
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesA, facili... | \n", "|||
| AOI04 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesA, facili... | \n", "|
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|||
| AOI05 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|||
| AOI06 | \n", "DEL | \n", "MONIT01 | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|
| PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesL, hydrog... | \n", "|||
| AOI07 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI08 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI09 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI10 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, facili... | \n", "|
| AOI11 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI14 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, hydrographyA, hydro... | \n", "|
| AOI15 | \n", "GRA | \n", "MONIT01 | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|||
| AOI16 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI17 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI18 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, builtUpP, facilitiesA, hydrog... | \n", "|
| AOI20 | \n", "GRA | \n", "PRODUCT | \n", "areaOfInterestA, facilitiesA, hydrographyA, hy... | \n", "|
| nl | \n", "AOI01 | \n", "DEL | \n", "PRODUCT | \n", "areaOfInterestA, builtUpA, facilitiesA, hydrog... | \n", "