GeomModel
GeomModel(cfg)Geometry model.
Needs the following settings in order to be run:
- exposure.csv.file
- exposure.geom.file1
- output.geom.file1
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 |
|---|---|
| get_exposure_meta | Get the exposure meta regarding the data itself (fields etc.). |
| read_exposure | Read all the exposure files. |
| read_exposure_data | Read the exposure data file (csv). |
| read_exposure_geoms | Read the exposure geometries. |
| read_hazard_grid | Read the hazard data. |
| read_vulnerability_data | Read the vulnerability data. |
| run | Run the geometry model with provided settings. |
| set_model_srs | Set the model spatial reference system. |
| set_num_threads | Set the number of threads. |