SwitchConfig#

class caf.cvt.model_config.SwitchConfig(*, run_data_cleaning=False, run_functional_rules=False, run_layering=False, flood_overlay_direct=False, flood_zip_extract=False, noham_zip_extract=False, create_flood_grid=False, create_flood_tiles=False)[source]#

Bases: BaseConfig

Configuration for model switches.

Parameters:
  • run_data_cleaning (bool)

  • run_functional_rules (bool)

  • run_layering (bool)

  • flood_overlay_direct (bool)

  • flood_zip_extract (bool)

  • noham_zip_extract (bool)

  • create_flood_grid (bool)

  • create_flood_tiles (bool)

run_data_cleaning[source]#

Whether to run data cleaning.

Type:

bool

run_functional_rules[source]#

Whether to run functional rules.

Type:

bool

run_layering[source]#

Whether to run layering.

Type:

bool

flood_overlay_direct[source]#

Whether to use a direct overlay of flood data.

Type:

bool

flood_zip_extract[source]#

Whether to extract flood zip files.

Type:

bool

noham_zip_extract[source]#

Whether to extract NoHAM zip files.

Type:

bool

create_flood_grid[source]#

Whether to create flood grid.

Type:

bool

create_flood_tiles[source]#

Whether to create flood tiles.

Type:

bool

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

run_data_cleaning

run_functional_rules

run_layering

flood_overlay_direct

flood_zip_extract

noham_zip_extract

create_flood_grid

create_flood_tiles

Methods

Attributes Documentation

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

run_data_cleaning: bool[source]#
run_functional_rules: bool[source]#
run_layering: bool[source]#
flood_overlay_direct: bool[source]#
flood_zip_extract: bool[source]#
noham_zip_extract: bool[source]#
create_flood_grid: bool[source]#
create_flood_tiles: bool[source]#