Command line script and Python library to read Storm Water Management Model binary output.
Project description
swmmtoolbox - Overview
The swmmtoolbox is a Python script to read the Storm Water Management Model (SWMM) version 5 binary output files.
Requirements
Python - of course, version 3.7+.
Installation
The swmmtoolbox is available via pip or conda.
pip
pip install swmmtoolbox
conda
conda install -c conda-forge swmmtoolbox
Usage
Command Line
Just run ‘swmmtoolbox –help’ to get a list of subcommands and options:
usage: swmmtoolbox [-h] {about,catalog,extract,listdetail,listvariables,stdtoswmm5} ... positional arguments: {about,catalog,extract,listdetail,listvariables,stdtoswmm5} about Display version number and system information. catalog List the catalog of objects in output file. extract Get the time series data for a particular object and variable. listdetail List nodes and metadata in output file. listvariables List variables available for each type. stdtoswmm5 Take the toolbox standard format and return SWMM5 format. options: -h, --help show this help message and exit
Python API
Simply import swmmtoolbox:
import swmmtoolbox ntsd = swmmtoolbox.extract("tests/frutal.out", "node,45,Hydraulic_head")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swmmtoolbox-4.0.14.tar.gz
(1.4 MB
view details)
Built Distribution
File details
Details for the file swmmtoolbox-4.0.14.tar.gz
.
File metadata
- Download URL: swmmtoolbox-4.0.14.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7811ac2b950e6178418b30a61093a980e6ee24453861a64f6bd3ff8461de132 |
|
MD5 | edf3fe878b92499c080ec09a95a56e1b |
|
BLAKE2b-256 | 99d3893a938b676c95e663cee16fa87d780db0ea6bf4303a638a60ad1b314bbb |
File details
Details for the file swmmtoolbox-4.0.14-py3-none-any.whl
.
File metadata
- Download URL: swmmtoolbox-4.0.14-py3-none-any.whl
- Upload date:
- Size: 63.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97266b8e0197ed089fcfba802ecc7ada012659d435fc3904598a0c4a6d57afd0 |
|
MD5 | 3a379c2caf2de0883da4ca37c1711851 |
|
BLAKE2b-256 | 0eedb01261f820258271c205332ad83c6409cc7cbca01e16f169b20dc4127aa9 |