swmmio
swmmio copied to clipboard
Python tools for interacting with, editing, and visualizing EPA SWMM5 models
The `rpt` file parsing runs into an issue when trying to return the `node_flooding_summary` when there is no flooding in the model. Need to hand this case in the Node...
## Summary All INP sections that follow the common tabular structure with unique indices as the first column can be read via the `swmmio.utils.create_dataframeINP` function. However, only a limited number...
Avoid writting the index of DataFrame into header "FILES:, which will cause the error of "ERROR 205: invalid keyword 0 (or 1)at line # of [FILE] section"
Currently, the `dataframe_from_inp` (and similar functions) scan the text file twice to extract the content. First, by running the `get_inp_sections_details` function, then by scanning to the section of interest. It...
Return the data in the Control Actions Taken section in an rpt file as a dataframe with the `dataframe_from_rpt` function. #### Example rpt section ``` ********************* Control Actions Taken *********************...
The Pandas DataFrames returned by the function `swmmio.create_dataframeRPT` always include a CFS label even if the model is run in SI units. swmmio should provide column headers consistent with the...
There are many visualization tools that can be consolidated and/or removed. Find what is redundant and fix