Skip to content

Commit b7d12a1

Browse files
committed
Updates
1 parent 06e4a5d commit b7d12a1

File tree

5 files changed

+72
-6
lines changed

5 files changed

+72
-6
lines changed

docs/_toc.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ parts:
1818
- file: docs/hzd_env-data
1919
- file: docs/global-exposure
2020
- file: docs/global-vulnerability
21+
- file: docs/risk-poverty
2122
- file: docs/disaster-data
2223
- file: docs/rdl
2324
- file: docs/external-tools
@@ -27,19 +28,16 @@ parts:
2728
sections:
2829
- file: docs/run_fl
2930
- file: docs/run_tc
30-
- file: docs/run_ci
3131
- file: docs/run_ch
32+
- file: docs/run_ci
33+
- file: docs/run_bv
3234
- file: docs/validation
33-
- file: docs/risk-poverty
34-
sections:
35-
- file: tools/code/merge_tiles/GUI_bivariate-maps.ipynb
3635
- file: docs/presentation
3736
- file: docs/utility
3837
sections:
3938
- file: tools/utility/merge_tiles/Merge_tiles.ipynb
4039
- file: tools/utility/Fetch_data/Fetch_WSF19.ipynb
4140
- file: tools/utility/mapping.ipynb
42-
- file: tools/utility/RWI/RWI-norm.ipynb
4341
- file: docs/philosophy_of_mapping
4442
- caption: Credits
4543
chapters:

docs/images/GUI.jpg

259 KB
Loading

docs/images/GUI.png

-154 KB
Binary file not shown.

docs/run_bv.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Bi-variate mapping
2+
3+
WIP
4+
5+
## Input data management
6+
7+
This script is meant for custom input from the user on all three risk components. It can still fetch national and sub-national boundaries from the [WB ArcGIS repository](https://services.arcgis.com/iQ1dY19aHwbSDYIF/ArcGIS/rest/services/World_Bank_Global_Administrative_Divisions_VIEW/FeatureServer).
8+
9+
The [**exposure data**](global-exposure.md) and the [**hazard data**](global-hazard.md) selected by the user need to be manually downloaded and placed in the respecive folders; in case of tiled data, use the [pre-processing script](https://github.com/GFDRR/CCDR-tools/blob/main/tools/code/F3/) to merge those into country-sized data. Each dataset is expected as a raster file (`.tif`).<br>
10+
11+
Exampe:
12+
13+
```
14+
Work dir/
15+
- GUI.ipynb Place the notebooks and related files in the main work directory
16+
- common.py
17+
- ...
18+
- Data/
19+
- HZD/country_hazard.tif Hazard layers
20+
- EXP/country_exposure.tif Exposure layers
21+
- RSK/ Output directory
22+
```
23+
24+
```{caution}
25+
All spatial data must use the same CRS: `EPSG 4326` (WGS 84)
26+
```
27+
<hr>
28+
29+
## Running the analysis
30+
31+
- Select the country first. Sub-national boundaries for level 1 and 2 can be fetched automatically. Else, you can load custom boundaries as geopackage (WGS 84). You will need to specify the field to be used to run zonal statistics, and related label name (e.g. ADM3_PCODE and ADM3_EN).
32+
```{figure} images/GUI_F3_country.png
33+
---
34+
width: 100%
35+
align: center
36+
---
37+
```
38+
- Move to Hazard tab: select the hazard process, the minimum hazard intensity threshold, the time period and climate scenario. Select one or more Return Periods (CTRL+Click / drag mouse).
39+
```{figure} images/GUI_F3_hzd.png
40+
---
41+
width: 100%
42+
align: center
43+
---
44+
```
45+
- Select one or more Exposure categories (CTRL+Click / drag mouse). You can select a custom exposure layer for each selected category (.tif raster, WGS 84).
46+
```{figure} images/GUI_F3_exp.png
47+
---
48+
width: 100%
49+
align: center
50+
---
51+
```
52+
- Select the approach to use for the analysis:
53+
- When using "function", the best impact function is selected for the selected country and exposure categories.
54+
- When using "classes", hazard intensity thresholds must be specified by the user.
55+
```{figure} images/GUI_F3_vln.png
56+
---
57+
width: 100%
58+
align: center
59+
---
60+
```
61+
- Check "Preview results" to generate map and charts output in the GUI.
62+
63+
```{figure} images/GUI_F3_rsk.png
64+
---
65+
width: 100%
66+
align: center
67+
---
68+
```

docs/tool-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ DATA_DIR = C:/Workdir/RDL-tools
3434
```
3535
The main interface should pop up in your browser.
3636

37-
```{figure} images/GUI.png
37+
```{figure} images/GUI.jpg
3838
---
3939
width: 100%
4040
align: center

0 commit comments

Comments
 (0)