hydromt.model.components.GridComponent.test_equal#
- GridComponent.test_equal(other: ModelComponent) Tuple[bool, Dict[str, str]] [source]#
Test if two components are equal.
- Parameters:
other (
ModelComponent
) – The component to compare against.- Returns:
True if the components are equal, and a dict with the associated errors per property checked.
- Return type:
Tuple[bool
,Dict[str
,str]]