Workflow to create composite climate hazard risk for the Africa Adaptation Atlas
# Hazard Risk Generation Scripts
This repository takes the monthly hazard data generated in the hazards workflow and calculates the risk of a hazard occurring over historical and future climate scenarios.
## Where is the data?
While the Atlas is under development, the hazard time-series data used in the risk analysis is internally available to Atlas scientists in the EiA server under `~/common_data/atlas_hazards/cmip6/indices`. The data are also available in the AWS S3.
Other dataset downloaded and used during the risk analysis include:
1. MapSPAM 2017V2r3 value of production available from s3://digital-atlas/MapSpam/raw/spam2017V2r3. *This is an updated version of the dataset that fixes several bugs and using country specific value of production values rather than global*
2. Livestock value of production available from s3://digital-atlas/livestock_vop and were provided the authors of Herrero et al. (2013)
3. Livestock numbers from Gilbert et al. (2018)
4. African highlands mask available from s3://digital-atlas/afr_highlands. *This dataset is used to split livestock data into highland vs tropical areas*
5. Total human population headcount density per km of land. available from s3://digital-atlas/population/. Human population was taken from Worldpop and separated into urban and rural classes using the OECD Africapolis dataset.
6. GGCMI Phase 3 crop calendars
7. Geoboundaries 6.0.0 downloadable in processed form at s3://digital-atlas/boundaries.
8. Ecocrop
Note, until the s3 repository is made publically available you will need login credentials for s3://digital-atlas the bucket to run these scripts.
To recreate the Geoboundaries 6.0.0 data run the download_and_combine_geoboundaries.R then process_geoboundaries scripts.
## What code is available?
This repository is divided into 4 main workflows, 0 to 3, available in the project R folder. Other functions and miscellaneous data processing scripts are also contained with the folder.
The below provides an overview …