This repository contains project-specific codes and configuration to run climate-related risk and resilience analysis of infrastructure networks in Jamaica.
For an initial overview of the style of analysis, a table of potential data requirements is presented in data-categories.csv.
Clone or download this repository from GitHub:
git clone [email protected]:nismod/jamaica-infrastructure.git
Install required python packages - several options are possible, depending on your system and preference.
If you can install system libraries relatively easily (e.g. on a Linux system
with admin rights), pip
will install Python packages and warn if any system
libraries are not available:
pip install -r requirements.txt
Otherwise, consider using
miniconda
to install the
packages and manage installing libraries into a conda environment, usually
handling non-Python dependencies well.
Create a conda environment once (per machine/user):
conda create --name jsrat --file requirements.txt
Activate the environment each time you open a shell:
conda activate jsrat
Run hazard-network intersections.
python scripts/exposure/split_networks.py \
workflow/network_layers.csv \
workflow/hazard_layers.csv \
./extract/processed_data/
The Jamaica Energy Model (JEM) is a high-level power flow model of Jamaica's electricity network.
The J-SRAT web-based visualisation tool is implemented in
infra-risk-vis
snail
is a supporting library, used here
for hazard-network intersections, under continuing development to support risk
analysis.
This work is supported by the Coalition for Climate Resilient Investment (CCRI) project on infrastructure risk assessment and resilient investment prioritisation in Jamaica, funded by the UK Foreign, Commonwealth and Development Office (FCDO).