hazimp.templates.flood

Module Contents

Functions

_flood_impact_reader(config: dict) → list

Build a job list from a flood impact configuration file. This template

_flood_fabric_v2_reader(config: dict) → list

This function does two things:

_flood_contents_v2_reader(config: dict) → list

This function does two things:

Attributes

LOGGER

CONT_ACTIONS

SAVE_CONT

SAVEAGG_CONT

NO_ACTION_CONT

EXPOSE_CONT

CONT_ACTION_COL

CONT_INSURANCE_COL

CONT_TEMP

INSURE_PROB

INSURED

UNINSURED

CONT_MAP

INSURE_MAP

hazimp.templates.flood.LOGGER
hazimp.templates.flood.CONT_ACTIONS = contents_actions
hazimp.templates.flood.SAVE_CONT = save
hazimp.templates.flood.SAVEAGG_CONT = save_agg
hazimp.templates.flood.NO_ACTION_CONT = no_action
hazimp.templates.flood.EXPOSE_CONT = expose
hazimp.templates.flood.CONT_ACTION_COL = contents_action
hazimp.templates.flood.CONT_INSURANCE_COL = insurance_regime
hazimp.templates.flood.CONT_TEMP = regime_action
hazimp.templates.flood.INSURE_PROB = insurance_probability
hazimp.templates.flood.INSURED = insured
hazimp.templates.flood.UNINSURED = uninsured
hazimp.templates.flood.CONT_MAP
hazimp.templates.flood.INSURE_MAP
hazimp.templates.flood._flood_impact_reader(config: dict) list

Build a job list from a flood impact configuration file. This template assumes floor height is included in the exposure attributes, rather than assuming a fixed floor height for all buildings.

Parameters:

config – a dict of jobs describing the pipeline

Returns:

a list of job objects representing the pipeline

hazimp.templates.flood._flood_fabric_v2_reader(config: dict) list

This function does two things:

* From a flood fabric template v2 configuration dictionary
build the job list.
* Set up the attributes of the jobs and calc's specifically
for a flood study.
Parameters:

config_list – A list describing the simulation.

Returns:

A list of jobs to process over.

hazimp.templates.flood._flood_contents_v2_reader(config: dict) list

This function does two things:

* From a flood contents template v2 configuration dictionary
build the job list.
* Set up the attributes of the jobs and calc's specifically
for a flood study.
Parameters:

config_list – A list describing the simulation.

Returns:

A list of jobs to process over.