Skip to content

OasisLMF/VulnerabilityLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VulnerabilityLibrary

This repository hosts code to convert vulnerability functions from their original form to functions in Oasis LMF format. The aim is to enable Oasis users to access a greater range of vulnerability functions in a form ready to apply in LMF.

The licence terms of each source varies. Please check the licence information given in each source data folder.

##conversion code usage: JrcModel.py [-h] [-W WORKING_FOLDER] [-d NUM_DAMAGE_BINS] [-M OASIS_MODEL_FOLDER] [-count COUNTRY_SPECIFIC [COUNTRY_SPECIFIC ...]] [-cont CONTINENT_SPECIFIC [CONTINENT_SPECIFIC ...]] [-imt INT_MES_TYPES] [-F DATA_PATH] [-e JRC_INPUT_PATH]

Set up paths to receive inputs and output files to for vulnerability function data

options: -h, --help show this help message and exit -W WORKING_FOLDER, --working-folder WORKING_FOLDER input the name of the folder containing the source code and the oasis lmf model -d NUM_DAMAGE_BINS, --num-damage-bins NUM_DAMAGE_BINS input number of damage bins -M OASIS_MODEL_FOLDER, --oasis-model-folder OASIS_MODEL_FOLDER input name of folder containing the files and data to run oasis lmf model -count COUNTRY_SPECIFIC [COUNTRY_SPECIFIC ...], --country-specific COUNTRY_SPECIFIC [COUNTRY_SPECIFIC ...] to analyse specific countries, input the name of which one to run the model on -cont CONTINENT_SPECIFIC [CONTINENT_SPECIFIC ...], --continent-specific CONTINENT_SPECIFIC [CONTINENT_SPECIFIC ...] to run the model on specific continents, input names from one of the following: Africa, Asia, Centr&south America, Europe, North America or Global` -imt INT_MES_TYPES, --int-mes-types INT_MES_TYPES enter the unique intensity measurement types in the model data -F DATA_PATH, --data-path DATA_PATH input name of file containing the vulnerability functions -e JRC_INPUT_PATH, --jrc-input-path JRC_INPUT_PATH input name of file containing the exposure file for the JRC data containing headers: 'country_code' and 'oed_occupancy_code'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages