generated from worldbank/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
591 additions
and
23 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
97 changes: 97 additions & 0 deletions
97
notebooks/IMPLEMENTATIONS/ZON_ELCPV_Environmental_Poverty/Data_Prep.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Geospatial aggregates for poverty comparison\n", | ||
"\n", | ||
"In support of the ELCPV project (PXXXXXX), GOST are calculating admin 2 level summaries of a series of risk, climate, and environmental data. The focus will be on the following datasets\n", | ||
"\n", | ||
"| Data layer | Source | Link | Notes |\n", | ||
"| --- | --- | --- | --- |\n", | ||
"| Floods | Fathom | [DDH](https://datacatalog.worldbank.org/int/search/dataset/0021728/Global-Flood-Hazard--FATHOM-) | GFDRR are working on acquiring an updated dataset, need funding |\n", | ||
"| Drought | **TBD** | | |\n", | ||
"| Heatwave | DDP | [Github](https://github.com/datapartnership/heatwaves) | The Data Partnership have developed tools for evaluating heat waves, but it is a work in progress |\n", | ||
"| Cyclone | Benny | | |\n", | ||
"| Wildfire | **TBD** | | |\n", | ||
"| Temperature | CCKP | [Climate Change Knowledge Portal](https://climateknowledgeportal.worldbank.org/download-data) | The CCKP are working on an updated, 1/4 degree resolution dataset that we will leverage |\n", | ||
"| Precipitation | CCKP | [Climate Change Knowledge Portal](https://climateknowledgeportal.worldbank.org/download-data) | |\n", | ||
"| Sea-level rise | **TBD** | | |\n", | ||
"| Population | WorldPop | [WorldPop](https://www.worldpop.org/) | We hope to use the soon-to-be released Global WorldPop v2 |\n", | ||
"| Schools | OSM | | |\n", | ||
"| Health facilities | OSM | | |\n", | ||
"| Road density | OSM | | |\n", | ||
"| Dams | **TBD** | | |" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"/home/wb411133/.conda/envs/ee/lib/python3.9/site-packages/geopandas/_compat.py:106: UserWarning: The Shapely GEOS version (3.9.1-CAPI-1.14.2) is incompatible with the GEOS version PyGEOS was compiled with (3.10.4-CAPI-1.16.2). Conversions between both will be slow.\n", | ||
" warnings.warn(\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import sys, os, importlib, math, multiprocessing\n", | ||
"import rasterio, geojson\n", | ||
"\n", | ||
"import pandas as pd\n", | ||
"import geopandas as gpd\n", | ||
"import numpy as np\n", | ||
"\n", | ||
"from h3 import h3\n", | ||
"from tqdm import tqdm\n", | ||
"from shapely.geometry import Polygon\n", | ||
"\n", | ||
"sys.path.insert(0, \"/home/wb411133/Code/gostrocks/src\")\n", | ||
"import GOSTRocks.rasterMisc as rMisc\n", | ||
"import GOSTRocks.ntlMisc as ntl\n", | ||
"import GOSTRocks.mapMisc as mapMisc\n", | ||
"from GOSTRocks.misc import tPrint\n", | ||
"\n", | ||
"sys.path.append(\"../../../src\")\n", | ||
"import h3_helper\n", | ||
"import country_zonal\n", | ||
"\n", | ||
"%load_ext autoreload\n", | ||
"%autoreload 2" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Earth Engine", | ||
"language": "python", | ||
"name": "ee" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.4" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
1 change: 1 addition & 0 deletions
1
notebooks/IMPLEMENTATIONS/ZON_ELCPV_Environmental_Poverty/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Poverty and climate |
Oops, something went wrong.