hydromt.model.components.ModelComponent#

class hydromt.model.components.ModelComponent(model: Model)[source]#

Abstract base class for ModelComponent.

__init__(model: Model)[source]#

Methods

__init__(model)

read()

Read the file(s) into the component.

test_equal(other)

Test if two components are equal.

write()

Write the component to file(s).

Attributes

data_catalog

Return the data catalog of the model this component is associated with.

model

Return the model object this component is associated with.

root

Return the root of the model this component is associated with.