model.runtime.configs.model_config

Model-level runtime configuration.

This module defines the configuration objects that describe the LSM itself: structural settings and process-scheme selections.

Module Contents

Classes

ModelStructureConfig

Structural settings of the land-surface model.

ModelSchemeConfig

Process-scheme selections for the LSM core.

ModelConfig

Top-level LSM configuration block.

Data

API

model.runtime.configs.model_config.DEFAULT_SOIL_LAYER_THICKNESSES

[0.1, 0.2, 0.3, 0.5, 0.8, 1.1]

class model.runtime.configs.model_config.ModelStructureConfig

Bases: model.runtime.configs.base_config.BaseConfig

Structural settings of the land-surface model.

num_soil_layers: int

6

num_runoff_generation_layers: int

3

soil_layer_thicknesses: list[float]

‘field(…)’

classmethod from_dict(raw)
validate()
class model.runtime.configs.model_config.ModelSchemeConfig

Bases: model.runtime.configs.base_config.BaseConfig

Process-scheme selections for the LSM core.

Most entries are optional today; they are included to give the new schema a stable home for future scheme-selection work.

stomatal_conductance: object

None

river_routing: object

None

classmethod from_dict(raw)
validate()
class model.runtime.configs.model_config.ModelConfig

Bases: model.runtime.configs.base_config.BaseConfig

Top-level LSM configuration block.

Groups structural settings (soil-column discretization) and optional process-scheme selections.

structure: model.runtime.configs.model_config.ModelStructureConfig

‘field(…)’

schemes: model.runtime.configs.model_config.ModelSchemeConfig

‘field(…)’

device_id: object

None

classmethod from_dict(raw)
resolve_device(verbose=True)
validate()