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