This project collects and processes spatial data, and uses them to generate maps and charts to be used in local preparedness plans.
First, clone this repository:
git clone --filter=tree:0 https://github.com/worldbank/crp-lgcrrp.git
Flood data is proprietary and therefore cannot be directly accessed by this public repository. To include flooding, please request flood data from [email protected]. Once received, you will then place it in mnt/source-data/
so that the resulting file path is mnt/source-data/fathom/
.
This project has two phases: data collection & processing, and data visualization. The first phase is conducted by 01-main.py
, while 02-main.R
handles the second.
For data collection, you will need to
- ensure city AOI (area of interest) is located in
mnt/01-user-input/AOI/
; - edit
mnt/01-user-input/city_inputs.yml
to name city and path to AOI; - edit
mnt/01-user-input/menu.yml
to only include the desired layers; and - run
01-main.py
with the commandpython 01-main.py
Once 01-main.py
has finished running, simply run Rscript 02-main.R
This process will result in a city-specific directory with spatial data files, maps, and charts.
- mnt/
- city-directories/
- <city name>/
- 01-user-input/
- 02-process-output/ (All of the intermediary files, mainly GeoTIFFs)
- 03-render-output/
- maps/
- charts/
To learn more about these map layers, see the project wiki.
- Population
- Relative wealth
- Economic activity
- Economic change
- Urban extent
- Land cover
- Solar
- Air quality
- Land surface temperature (summer)
- Vegetation index (annual and/or seasonal)
- Forest cover & deforestation
- Flooding (fluvial, pluvial, coastal, and combined)
- Elevation
- Slope
- Landslide susceptibility
- Liquefaction susceptibility
- Roads
- Moisture index (annual and/or seasonal)
To learn more about these charts, see the project wiki.
- Population growth
- Urban extent over time
- Urban extent's flooding exposure over time (fluvial, pluvial, coastal, and combined)
- Land cover distribution
- Elevation distribution
- Slope distribution
- Solar energy availability over year
- Fire weather index over year
- Cold spell duration index
- Warm spell duration index
- Hot days, tropical nights
- Days with more than 20 & 50 mm of precipitation
- Extreme 5-day precipitation
- Projected temperatures