Model#
Model class#
High-level methods#
|
General and basic API for models in HydroMT. |
|
Read provided components from disk. |
|
Write provided components to disk with defaults. |
|
Write the data catalog to data_lib_path. |
General methods#
|
Single method to build a model from scratch based on settings in steps. |
|
Single method to update a model based the settings in steps. |
|
Get a component from the model. |
|
Add a component to the model. |
|
Test if two models are equal, based on their components. |
Enter the model runtime context. |
|
|
Exit the model runtime context. |
Model attributes#
DataCatalog for data access |
|
Returns coordinate reference system embedded in region. |
|
Model root |
|
Return the model's region component. |
|
ModelRoot#
|
A class to handle model roots in a cross platform manner. |
Attributes#
The mode of the model this object belongs to. |
|
Test whether we are in writing mode or not. |
|
Test whether we are in reading mode or not. |
|
Test whether we are in override mode or not. |
General Methods#
|
Set the path and mode of the root. |