This repo contains the code and final data for Variability in urban population distributions across Africa published in Enivronmental Research Letters. The gridded population data needed to produce the final urban settlement polygons in our paper is available from PopGrid.org and Esri Inc. We use:
- Global Human Settlment Layer Population (GHS-Pop), 2000 & 2015 (CRS is different than the other datasets--transform as needed)
- WorldPop 2015
- ESRI Inc. Gridded Population of the World 2016
- LandScan 2015
The Python code is currently written in Jupyter Notebooks (Steps 1-6) located in the Notebook directory. Some of functions have been ported to the SRC directory as .py files (more will be soon).
The final urban population data used in our analysis (available as both shape and csv files) is in the ERL_Data directory in the repo. Please see the README.txt file included in that directory for details. Also included is the manually buffered Africa shape file we used to clip rasters.
The code may be buggy, as I am in the processes of building it into a more generalized Python package. I will be adding more to this repo in the coming months. Please ping me with any questions.
Cascade 2019-08-19