swmmtoolbox.swmmtoolbox.listvariables¶
- swmmtoolbox.swmmtoolbox.listvariables(filename, header='default')¶
List variables available for each type.
The type are “subcatchment”, “node”, “link”, “pollutant”, “system”.
- Parameters:
filename (str) – Filename of SWMM output file. The SWMM model must complete successfully for “swmmtoolbox” to correctly read it.
tablefmt (str) –
[optional, default is ‘csv’, output format]
The table format. Can be one of ‘csv’, ‘tsv’, ‘plain’, ‘simple’, ‘grid’, ‘pipe’, ‘orgtbl’, ‘rst’, ‘mediawiki’, ‘latex’, ‘latex_raw’ and ‘latex_booktabs’.
header (str) –
[optional, default is ‘default’, output format]
This is if you want a different header than is the default for this output table. Pass a list with string column names for each column in the table.