GridModel

GridModel(cfg)

Grid model.

Needs the following settings in order to be run:

  • exposure.grid.file
  • output.grid.file

Parameters

Name Type Description Default
cfg Configurations Configurations object containing the settings. required

Attributes

Name Description
risk Return the calculation modus.
type Return the hazard type.

Methods

Name Description
create_equal_grids Make the hazard and exposure grid equal spatially if necessary.
read_exposure_grid Read the exposure grid.
read_hazard_grid Read the hazard data.
read_vulnerability_data Read the vulnerability data.
resolve Create EAD output from the outputs of different return periods.
run Run the grid model with provided settings.
set_model_srs Set the model spatial reference system.
set_num_threads Set the number of threads.
Back to top