Git Product home page Git Product logo

cities-dataportal-exposure's Introduction

Cities Exposure Data Portal pilot

Welcome to the City Data Portal project repository dedicated to the assement of cities' exposure to natural hazards.

This is a work in progress repository! It is not yet an official WRI repository. For more information about the project status, please contact [email protected].

This repository provides:

  • Data Exploration: Scripts for exploring cities' exposure indicators to naturla hazards: extreme heat events and flooding
  • Data Pipeline: Scripts for collecting, processing and storing data needed for exposure assessment: administrative boundaries, amenity locations, population distribution, land surface temperature...
  • Dashboard: Scripts for building an interactive dashboard to visualize the computed exposure indicators

Data sources

Dataset Source Description
Administrative boundaries GeoBoundaris; OpenStreetMap
Amenities OpenStreetMap
Amenities' sectors lobal covenant of mayor GCRF
Land Surface Temperature Landsat
Population WorldPop

Dashboard

You can explore the city exposure dashboard here: https://wri-cities.shinyapps.io/cities-exposure-dashboard/.

Technical documentation

A complete technical documentation of the exposure assessment framework is provided here: https://cities-data-portal-adaptation.s3.eu-west-3.amazonaws.com/docs/climate-adaptattion-dashboard.html

cities-dataportal-exposure's People

Contributors

s-ai-f avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

l5d1l5

cities-dataportal-exposure's Issues

Map component - Heat raster - Performance issues

The app updates are very slow because of the volumetry of heat raster layers.
In order to improve the performances, many options need to be tested:

  • Hide the layer by default
  • reduce the spatial resolution
  • use geemap to visualize the ratsers

Dashboard - Population exposure map - Epxosure layer

o On the map, replace the current Population exposure layer with a new layer “Exposed population” layer that displays the population count masked to include only the areas with above threshold temperature. But default only have this layer turned on. This is the simplest way I can think of to have a layer that includes information about both the amount of population exposed to high hazard and the locations of those high exposures.

Amenity exposure - Text generation

Objectives:
Generate automatically a text synthesizing the main take away for the amenity exposure outputs

Outputs

  • Add a tab containing a text with the main indicators on amenity exposure in each city

Dashboard - population exposure - Narrative summary

o Population Summary tab should be rewritten and reference a particular population category:
 E.g. “75 % of all residential population in PHL-Makati are situated in areas with extreme temperatures above 38 °C. (“All” could be replaced by other population categories depending on what is selected in the category menu).

Filter - Display exposed/not exposed amenities in the map

As a city I need to be able to show/hide exposed/not exposed amenities by the mean of a checkbox.

The definition of exposed/not exposed should be based on the defined threshold in slider filter.

The checkbox has an impact only on the visualization of amenities in the map

Amenity exposure to flood

Objective
Integrate flood hazards (based on aqueduct data source) for assessing amenity exposure to flooding

Output

  • Add flood hazard in the Hazard filter
  • Generate of amenity exposure to flood statsistics
  • Generate amenity exposure to flood map
  • Aggregate amenity exposure to flood by sector
  • Generate sector exposure table
  • Generate sector exposure barchart

Map component - amenity exposure - Linear legend

As a city I need that the colors presenting amenity exposure to heat indicator correspond to a linear gradient from Blue to Red.

Since the indicator refer to the deviation ratio of each amenity from the defined threshold, the values from 0 to 100% should be presented in [blue, cyan, green] gradient and those higher than 100% presented in [green, yellow, red] gradient.

Narrative summary - update text

Update narrative summary of amenity exposure by stating: x% of assets are located in area of above median heat (median heat value).

Slider selection

When I change the value of the slider, it automatically moves to the by default value

Dashboard - Population exposure retitle

o Retitle “Population exposure map” to “Residential exposure”, “Population categories’ exposure” to “Category exposure” and “Narrative Summary” to “Population Summary”

Update deviation from average amenity depending on the selected city

When we select a new city in the dashboard, the deviation from average amenity heat is not updated because the value is fixed at the top of the app (line 37-38).

The variable "heat_dev_from_amenities" should be computed after subsetting data once the filtes are selected.

Population exposure to flooding

Objective
Integrate flood hazards (based on aqueduct data source) for assessing population exposure to flooding

Output

  • Add flood hazard in the Hazard filter
  • Generate of population exposure to flood statistics
  • Generate population exposure to flood map
  • Aggregate population exposure to flood by group of population

Population exposure - pilot cities

Objectives:
Providing population exposure indicators for all the 5 pilot cities

Outputs

  • collect population data for all cities
  • compute population exposure indicators for all cities

Dashboard - Amenity narrative summary

  • Narrative Summary for amenities section should be rewritten:
    o Retitled to “Amenity Summary”
    o E.g. “In PHL-Makati, 56.5 % of sites of the selected amenity sector(s) are situated in areas with extreme temperatures above 38 °C.”
    o E.g. “The most heat exposed sectors are Emergency Services and Waste management with 75 % and 73 % of sites, respectively, exposed to heat above this temperature.”
    o Also, if I customize the heat threshold the temperature text (e.g. “38 °C.”) does not change in the narrative summary. It should be fixed so that this value updates like the other blue values do.

Maps legend

  • All maps need legends with units. E.g. “Land Surface Temperature (°C)”, “Population count (per km2)“

Filter - Threshold slider - Customize values based on indicator distribution

As a city I want to define specific threshold to use in order to identify the exposure level of amenities to Heat. The values presented in the slider should correspond on the distribution of the indicator within the selected city:

  • Min = Min(LST) for the selected city
  • Max = Max(LST) for the selected city
  • Values: Percentiles(LST) for the selected city
  • Values shown: [0, 10%, 20%.....90%]

By default, the slider is set at the median value if the indicator (50%)

Dashboard - Main indicators -Deviation heat

  • Delete “Selected amenities heat deviation ratio from all amenities:” and just list the % value as another line after the °C value (in parenthesis and with a forced + or minus in front)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.