roms_tools.BoundaryForcing.from_yaml

roms_tools.BoundaryForcing.from_yaml#

classmethod BoundaryForcing.from_yaml(filepath: str | Path, use_dask: bool = False) BoundaryForcing#

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

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

  • use_dask (bool, optional) – Indicates whether to use dask for processing. If True, data is processed with dask; if False, data is processed eagerly. Defaults to False.

Returns:

BoundaryForcing – An instance of the BoundaryForcing class.