hydromt.model.Model.test_equal#

Model.test_equal(other: Model) tuple[bool, Dict[str, str]][source]#

Test if two models are equal, based on their components.

Parameters:

other (Model) – The model to compare against.

Returns:

True if equal, dictionary with errors per model component which is not equal.

Return type:

Tuple[bool, Dict[str, str]]