roms_tools.CDRForcing.from_yaml

roms_tools.CDRForcing.from_yaml#

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

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

Parameters:

filepath (str | Path) – The path to the YAML file from which the parameters will be read.

Returns:

CDRForcing – An instance of the CDRForcing class.