roms_tools.RiverForcing.from_yaml

roms_tools.RiverForcing.from_yaml#

classmethod RiverForcing.from_yaml(filepath: str | Path) RiverForcing#

Create an instance of the RiverForcing class from a YAML file.

Parameters:

filepath (Union[str, Path]) – The path to the YAML file from which the parameters will be read.

Returns:

RiverForcing – An instance of the RiverForcing class.