DataLoadPlan#

class hydromodpy.data.DataLoadPlan(explicit_types=<factory>, inferred_types=<factory>, reasons_by_type=<factory>)[source]#

Bases: object

Resolved data-manager activation plan.

explicit_types come from [data].types. inferred_types are appended by planner rules.

reasons_by_type records why each inferred family was activated, for example a geology support requested by the domain or an ocean boundary condition requested by flow.

Parameters:
property types: tuple[str, ...]#

Return the ordered union of explicit and inferred manager types.

has(type_name)[source]#

Return True when type_name is active in the resolved plan.

Parameters:

type_name (str)

Return type:

bool

reasons_for(type_name)[source]#

Return planner reasons recorded for type_name.

Parameters:

type_name (str)

Return type:

tuple[str, ...]