Skip to content

Commit

Permalink
Merge pull request #21 from datapartnership/era5-analysis
Browse files Browse the repository at this point in the history
Era5 analysis
  • Loading branch information
SahitiSarva authored Mar 17, 2024
2 parents 3fdfaa1 + 8771dbf commit ccc677f
Show file tree
Hide file tree
Showing 18 changed files with 11,035 additions and 62 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,4 @@ _build/
.env

/data

33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@
# Development Data Partnership Heatwaves
# Understanding Impacts of Excess Heat in Filipino cities


The Development Objective is to empower urban Philippines Local Government Units (LGUs) to take preventative and real-time action to mitigate the impacts of heatwaves. This will occur through the provision of more timely and granular data products that reveal localized occurrences of heatwaves and their impacts on human health and urban economies. These data products will be an input to the GeoRiskPH and PlanSmart Planning tool developed under the Philippines Disaster Risk Management and Climate Development Policy Loan with a Catastrophe Deferred-Drawdown Option (P180585). Specifically, this data product will expand the multi-hazard information in the GeoRiskPH and PlanSmart platforms to include heat, so that LGUs can integrate spatial heat risk information in their Comprehensive Land Use Planning (CLUP).

Until now, cities have been challenged to address heatwaves, because the data and expertise needed to mitigate impacts are typically scattered across many departments. There is also much difficulty in monitoring the effect of existing policies, which the World Bank’s Climate report on the Philippines recommended as a pillar to future sustainability work and accountability.1 To overcome this barrier, as part of the World Bank’s Technical Deep Dive on Urban Heat (April 24-28, 2023), Filipino authorities have requested support on better measurement of urban heatwaves and their impacts. To meet this demand-driven request, the project team would facilitate access to heat risk and vulnerability information by creating a Data Product for select cities in of the Philippines. Through this public data good, Filipino LGU authorities will be able to identify investments and policy interventions that are critical to alleviate impact from excess heat in specific barangays of their cities. The successful interventions can then be scaled to build the resilience of the city. The Data Product will be designed and validated with inputs from local data collection drives and stakeholder participation to ensure inclusive design and participation. The roll out of the Data product will happen through training sessions for the LGU authorities who can then use the insights from this tool to inform policy interventions on a regular basis.

## Components of the project

### Data Product Creation: Geospatial excess heat vulnerability mapping as an input to GeoRiskPH and PlanSmart planning tools, an indicator of P180585.

This Data Product will act as an input to the indicators developed in Pillar B: Strengthening the Resilience of the Human Settlements System of P180585. Specifically, the output will provide the heat risk information for:

Results Indicator B1: Disaster and climate resilience measures are integrated in land use planning to guide development, using a risk-informed and evidence-based platform.

The Data Product will be developed and improved in phases in consultation with various stakeholders. The first phase, as part of this grant funding, will include insights, methodologies, and creation of spatial data that LGUs can use to assess localized impact of heatwaves on health and economy in Filipino cities.

The Data Product will consist of foundational datasets that can be shared across departmental units for comparison of results across teams. Additionally, it will include indicators that LGUs can use to observe impacts in Barangays within cities.

**Foundational datasets**: These datasets form the underlying information that will remain common across all subsequent analyses conducted by different departmental units in an LGU, and CSOs who contribute to and use the product.

Historical and hyperlocal weather data: Weather data will be collected from openly available sources, high-resolution private sector data sources, and data from The Philippine Atmospheric, Geophysical and Astronomical Services Administration (PAGASA). This will provide historic data at low resolution and daily data at high granularity (~5km grids) allowing for both insights to be used in risk informed decision-making processes and the development of CLUPs.

**Socio-demographic indicators and spending**: Income, health and demographic data from the census of the Philippines, socio demographic data at high granularity from private sector data sources and spending data from crowdsourced surveys will be used to identify the areas in Filipino cities that have a systemic risk which makes them less capable of handling new stresses such as excess heat.5

**Historic Heatwave Mapping**: Using historic weather data, historic heatwave days in the Filipino cities will be identified. The team will use multiple definitions of a heatwave6 – definition from the WMO,7 Heat Index during the day and Heat Index during the night. Understanding nighttime HI is important because it impacts the effects of the heatwave, as evenings are usually a time to cool down. When that doesn’t happen, people become more susceptible to heat and mortality rises.8 This is to have a standard set of days, across departmental units, during which impacts are assessed and to identify areas which were affected by multiple heatwaves.

**Indicators to measure vulnerability to heat**: Based on the foundational datasets, additional indicators and data will be identified to visualize the health vulnerability in barangays within a city.

**Understanding change in air quality during excess heat days**: Air Quality gets progressively worse on hot days which leads to respiratory illnesses in people.9,10 Given the complex relationship between heat and health,11 air quality is used as one of the proxies to measure health vulnerability to heat. Heatwave days will be overlaid with air quality index data available at granular levels. The data will be obtained from multiple private sector sources and the local government. The data will be compared to obtain insights about worsening air quality in specific Barangays in a city.

**Change in movement to places of interest**: Another proxy for vulnerability is using change in movement of people on days of excess heat. The team will assess how heat impacts change movement to hospitals, schools, construction sites, manufacturing units and other places of interest identified through conversation with the LGU. The movement data will be obtained through GPS location data provided by private sector companies such as Mapbox and Veraset. The team undertook a similar analysis to assess the impacts of the earthquake on the Turkish economy. The results of this can be found here - https://datapartnership.org/turkiye-earthquake-impact/notebooks/mobility/activity.html. Points of Interest data will be obtained from the LGUs and Open Data sources such as OpenStreetMaps. It is noted that the cost of this analysis is contingent on negotiated final price of data and the time period length covered by the analysis. If the negotiated price exceeds the grant budget, then this indicator would be prepared for Phase II of the grant project.

## License

Expand Down
40 changes: 27 additions & 13 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,33 @@ repository:
#######################################################################################
# HTML-specific settings
html:
home_page_in_navbar: true
extra_navbar: ""
use_edit_page_button: true
use_repository_button: true
use_issues_button: true
baseurl: https://datapartnership.github.io/heatwaves/PH
extra_footer: |
<div>
Country borders or names do not necessarily reflect the World Bank Group’s official position. All maps are for illustrative purposes and do not imply the expression of any opinion on the part of the World Bank, concerning the legal status of any country or territory or concerning the delimitation of frontiers or boundaries
</div>
<div>
<b>All content (unless otherwise specified) is subject to the <a href="https://www.mozilla.org/en-US/MPL">Mozilla Public License.</a></b>
</div>

home_page_in_navbar: false
extra_navbar: ""
use_edit_page_button: true
use_repository_button: true
use_issues_button: true
baseurl: https://datapartnership.github.io/datapartnership/heatwaves/philippines
extra_footer: |
<div>
<b>All content (unless otherwise specified) is subject to the <a href="https://raw.githubusercontent.com/worldbank/template/main/LICENSE">World Bank Master Community License Agreement.</a></b>
</div>
google_analytics_id: G-ETJ4QT0E4L
=======
# home_page_in_navbar: true
# extra_navbar: ""
# use_edit_page_button: true
# use_repository_button: true
# use_issues_button: true
# baseurl: https://datapartnership.github.io/heatwaves/PH
# extra_footer: |
# <div>
# Country borders or names do not necessarily reflect the World Bank Group’s official position. All maps are for illustrative purposes and do not imply the expression of any opinion on the part of the World Bank, concerning the legal status of any country or territory or concerning the delimitation of frontiers or boundaries
# </div>
# <div>
# <b>All content (unless otherwise specified) is subject to the <a href="https://www.mozilla.org/en-US/MPL">Mozilla Public License.</a></b>
# </div>


#######################################################################################
# Execution settings
Expand Down
22 changes: 22 additions & 0 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
format: jb-book

root: README

parts:
# - caption: Heatwave data Collaborative
# numbered: True
# chapters:
# - file: static/Heatwaves Data Collaborative.pdf
# - file: notebooks/world-bank-package.ipynb
# - file: notebooks/nasa-apod.ipynb
- caption: Heatwaves in the Philippines
chapters:
- file: notebooks/measuring-heatwaves/heatwaves-in-philippines.ipynb
- file: notebooks/socio-economic-indicators/census.ipynb
- file: notebooks/air-pollution/air-pollution.ipynb
# - url: https://wbdatalab.org
# title: World Bank Data Lab
# - url: https://www.worldbank.org/en/about/unit/unit-dec
# title: World Bank DEC
# - url: https://www.worldbank.org/en/research/dime
# title: World Bank DIME
=======
root: notebooks/measuring-heatwaves/heatwaves-in-philippines.ipynb
Empty file added notebooks/.gitkeep
Empty file.
50 changes: 50 additions & 0 deletions notebooks/heat-and-air-pollution.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'fcntl'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[5], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mee\u001b[39;00m\n",
"File \u001b[1;32mc:\\Users\\sahit\\anaconda3\\envs\\heatwaves\\lib\\site-packages\\ee\\__init__.py:1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39m.\u001b[39;00m\u001b[39mmain\u001b[39;00m \u001b[39mimport\u001b[39;00m main\n",
"File \u001b[1;32mc:\\Users\\sahit\\anaconda3\\envs\\heatwaves\\lib\\site-packages\\ee\\main.py:5\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39msubprocess\u001b[39;00m\n\u001b[0;32m 4\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39msys\u001b[39;00m\n\u001b[1;32m----> 5\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mblessings\u001b[39;00m\n\u001b[0;32m 6\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mre\u001b[39;00m\n\u001b[0;32m 7\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mos\u001b[39;00m\n",
"File \u001b[1;32mc:\\Users\\sahit\\anaconda3\\envs\\heatwaves\\lib\\site-packages\\blessings\\__init__.py:7\u001b[0m\n\u001b[0;32m 5\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mcurses\u001b[39;00m\n\u001b[0;32m 6\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mcurses\u001b[39;00m \u001b[39mimport\u001b[39;00m setupterm, tigetnum, tigetstr, tparm\n\u001b[1;32m----> 7\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mfcntl\u001b[39;00m \u001b[39mimport\u001b[39;00m ioctl\n\u001b[0;32m 8\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39msix\u001b[39;00m \u001b[39mimport\u001b[39;00m text_type, string_types\n\u001b[0;32m 10\u001b[0m \u001b[39mtry\u001b[39;00m:\n",
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'fcntl'"
]
}
],
"source": [
"import ee"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "heatwaves",
"language": "python",
"name": "python3"
},
"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.10.11"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}
756 changes: 756 additions & 0 deletions notebooks/measuring-heatwaves/analyse-era5.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit ccc677f

Please sign in to comment.