RainGage#
- class RainGage(model, raingageid)[source]#
Raingage Methods.
Examples:
>>> from pyswmm import Simulation, Raingages >>> >>> with Simulation('tests/data/TestModel1_weirSetting.inp') as sim: ... rg1 = Raingages(sim)["Gage1"] ... print(rg1.raingageid) ... for step in sim: ... print(rg1.total_precip) ... Gage1 ... 0 ... 10
Methods
Attributes
Get raingage total rainfall rate (like in/hr or mm/hr).
Get Rain Gage ID.
Get raingage total snowfall rate (like in/hr or mm/hr).
Get/set raingage total precipitation rate (like in/hr or mm/hr).