giacfalk / aging_climate

Replication code and data for: Aging in a warming world: global projections of cumulative and acute heat exposure of older adults

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replication code and data for: Global projections of heat exposure of older adults

By Giacomo Falchetta, Enrica De Cian, Ian Sue Wing and Deborah Carr Nature Communications. DOI: 10.1038/s41467-024-47197-5

CC BY-NC-SA 4.0

An output data file, containing grid-cell level counts of people by age group, of climate hazard indicators, and of heat exposure metrics for both the historical climate and current demography and for future scenarios and projections is contained in the Zenodo repository ("aging_climate_output_data.csv"). 

Software requirements:

To replicate the analysis:

  • Download input data from https://doi.org/10.5281/zenodo.11080589
  • Download all the 1km age and gender-stratified global population counts rasters from the following WorldPop page https://hub.worldpop.org/geodata/summary?id=24798
  • Clone this code repository
  • Run the "project_pop.R" script to generate gridded age-stratified population data for each SSP scenario
  • Run the "compare_pop_projections.R" file to compare the generated gridded age-stratified population data with an array of pre-existing sources from different countries and produce a summary comparison table (NOTE: before running the script, decompress the "new_comparison_data.zip" folder into the working directory)
  • Run "projections_exposure_m.R" to quantify heat exposure and generate the figures and tables reported in the paper

To process the data and run succesfully, the script requires a computer with at least 32GB RAM. The running time varies based on CPU characteristics, but a runtime of at least 2 hours should be expected to generate all the output data, figures, and tables. All output files are saved in the working directory.

The


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

Replication code and data for: Aging in a warming world: global projections of cumulative and acute heat exposure of older adults


Languages

Language:R 100.0%