timcera / swmmtoolbox

Command line script and Python package to read time-series from the Storm Water Management Model (SWMM) binary output.
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

Incorrect "system,_,_" labels should error #5

Closed timcera closed 2 years ago

timcera commented 6 years ago

Right now an inconsistent input will just report a time-series of zeros.

outflow = swmmtoolbox.extract(filename, 'system,Flow_leaving_outfalls,1')

Should error instead gives time-series of zeros.

This is what should work:

outflow = swmmtoolbox.extract(filename, 'system,Flow_leaving_outfalls,11')

See #2 for some discussion.

timcera commented 2 years ago

Fixed - sort of... See #4