unifhy.Model.from_yaml
- classmethod Model.from_yaml(yaml_file)
Instantiate a
Model
from a YAML configuration file.- Parameters
Examples
>>> m = Model.from_yaml('configurations/dummy_same_t_same_s.yml') >>> print(m) Model( identifier: test-dummy-same_t-same_s config directory: outputs saving directory: outputs surfacelayer: tests.components.surfacelayer.dummy subsurface: tests.components.subsurface.dummy openwater: tests.components.openwater.dummy )