diff --git a/_sources/docs/EAI.md b/_sources/docs/EAI.md index d2109acd..891a3516 100644 --- a/_sources/docs/EAI.md +++ b/_sources/docs/EAI.md @@ -36,15 +36,10 @@ align: center - The exposure and impact estimates are then summarised for the chosen administrative boundary (ADM) level using `zonal statistic`. The expected annual impact (EAI) is computed by multiplying the impact value with its exceedence frequency depending on the scenario. The `exceedance frequency curve (EFC)` is plotted. These outputs represent the core of the disaster risk historical baseline. The output is exported in form of tables, statistics, charts (excel format) and maps (geopackage). -## DATA MANAGEMENT - -- Download country boundaries for multiple administrative levels sourced from [HDX](https://data.humdata.org/dataset) or [Geoboundaries](https://www.geoboundaries.org). Note that oftern there are several versions for the same country, so be sure to use the most updated from official agencies (eg. United Nations). Verify that shapes, names and codes are consistent across different levels. -- Download [exposure data](global-exposure.md). -- Download probabilistic [hazard data](global-hazard.md), consisting of multiple RP scenarios. - ## SETUP THE NOTEBOOK -- Create environment and folder structure as explained in [tool setup](tool-setup.md) +As explained in [tool setup](tool-setup.md): +- Create environment and folder structure - Move verified input data into the tools folders - Use the interface to select the settings and start the processing diff --git a/_sources/docs/tool-setup.md b/_sources/docs/tool-setup.md index 02c8ba55..03a93ba8 100644 --- a/_sources/docs/tool-setup.md +++ b/_sources/docs/tool-setup.md @@ -1,4 +1,4 @@ -# Tools setup +# TOOLS SETUP The analytical scripts can be downloaded as: @@ -7,24 +7,39 @@ Read more about [**Jupyter Notebooks**](https://jupyter-notebook.readthedocs.io/ - [**Python code**](https://github.com/GFDRR/CCDR-tools/tree/main/Top-down/parallelization): give the user more control, and has overall better performances making use of parallel processing. These can be downloaded and exectuted on any windows or linux machine. -In both cases, the script expects input data to be provided according to some rules. +In both cases, the script requires proper environment setup and input data to be provided according to the instructions below. -### Expected directories and input format +## Python environment -The script expects input data folders to be structured as: +- Python 3 needs to be installed on your system. We suggest the latest [Anaconda](https://www.anaconda.com/download) distribution. Mamba is also encouraged. +- Create new `CCDR-tools` environment according to your operating system: win.yml or linux.yml. + In Anaconda cmd prompt: -``` -Work dir/ - - Hazard.ipynb - - common.py - - Data/ - - ADM Administrative unit layer for each country - - HZD Hazard layers - - EXP Exposure layers - Population (count), Built-up (ratio or binary), Agriculture (ratio or binary) - - RSK Output directory -``` + `conda create --name CCDR --file
exceedance frequency curve (EFC)
is plotted. These outputs represent the core of the disaster risk historical baseline. The output is exported in form of tables, statistics, charts (excel format) and maps (geopackage).Download country boundaries for multiple administrative levels sourced from HDX or Geoboundaries. Note that oftern there are several versions for the same country, so be sure to use the most updated from official agencies (eg. United Nations). Verify that shapes, names and codes are consistent across different levels.
Download exposure data.
Download probabilistic hazard data, consisting of multiple RP scenarios.
As explained in tool setup:
Create environment and folder structure as explained in tool setup
Create environment and folder structure
Move verified input data into the tools folders
Use the interface to select the settings and start the processing