7. Exposure analysis

Estimate exposure of all roads in a region

gmtra.exposure.regional_roads(n, prot_lookup, data_path)[source]

Function to get summarized exposure values for each region for all road assets.

Arguments:

n : the index ID of a region in the specified shapefile with all the regions.

prot_lookup : dictionary with dike design standards for a region.

data_path : file path to location of all data.

Returns:
dataframe : a pandas DataFrame with exposure statistics.

Estimate exposure of all railway in a region

gmtra.exposure.regional_railway(n, prot_lookup, data_path)[source]

Function to get summarized exposure values for each region for all railway assets.

Arguments:

n : the index ID of a region in the specified shapefile with all the regions.

prot_lookup : dictionary with dike design standards for a region.

data_path : file path to location of all data.

Returns:
dataframe : a pandas DataFrame with exposure statistics.