hydromt.model.ModelRoot#
- class hydromt.model.ModelRoot(path: str | Path, mode: ModelMode | str = 'w')[source]#
A class to handle model roots in a cross platform manner.
Methods
__init__
(path[, mode])Test whether we are in override mode or not.
Test whether we are in reading mode or not.
Test whether we are in writing mode or not.
set
(path[, mode])Set the path of the root, and create the necessary loggers.
Attributes
The mode of the model this object belongs to.