pytuflow.TCFRunState.rainfall_dbase

pytuflow.TCFRunState.rainfall_dbase#

TCFRunState.rainfall_dbase()#

Returns the model’s rainfall database instance.

Returns:

The rainfall database instance.

Return type:

DatabaseRunState

Raises:

KeyError – If the rainfall database file is not found in the control file.

Example

>>> tcf = ... # assuming is an instance of TCF
>>> rainfall_dbase = tcf.context().rainfall_dbase()