Skip to main content

SWMManywhere software

Project description

SWMManywhere: Synthesise Urban Drainage Network Models Anywhere in the World

PyPI version shields.io Test and build DOI codecov status Total Downloads

SWMManywhere is a tool to synthesise urban drainage network models (UDMs) using publicly available data such as street network, DEM, and building footprints, across the globe. It also provides tools for generating SWMM input files and performing simulations for the synthesised UDMs.

Features

  • Automatic data retrieval and preprocessing: all of our data requirements are met with global datasets, so all you need is a bounding box!
  • Customisable network synthesis: change a range of parameters to create different networks, power users can easily extend existing functionality.
  • Streamlined evaluation to compare with real networks: we include a variety of performance metrics and automatic running/comparing if you have your own SWMM model.
  • Command line interface: All of this and more can be accessed by passing a configuration file to a CLI.

Installation

Install SWMManywhere:

pip install swmmanywhere

Alternatively, it can be installed using mamba (conda or micromamba):

mamba install -c conda-forge swmmanywhere

SWMManywhere dependencies may be viewed in the pyproject.toml.

Documentation and Quickstart

Once installed, you can simply run SWMManywhere from the command line giving a configuration file in YAML format as input. As SWMManywhere can download data automatically from well known sources, this settings file can often be minimal and restricted to indicating the geographical area to be processed:

python -m swmmanywhere --config_path=\path\to\config.yml

The result of the calculation will be a model of the sewage system for that area, like the following, which can then be further processed or analysed with SWMM, for example:

SWMM Model

Follow the Quickstart for a more detailed initial example and ReadTheDocs for full information of SWMManywhere capabilities.

Use and contributing

This project is licensed under the BSD-3-Clause licence, see LICENSE.

There are many things we would like to do! If you are interested to contribute please see CONTRIBUTING and CODE OF CONDUCT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swmmanywhere-0.1.16.tar.gz (3.4 MB view details)

Uploaded Source

File details

Details for the file swmmanywhere-0.1.16.tar.gz.

File metadata

  • Download URL: swmmanywhere-0.1.16.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for swmmanywhere-0.1.16.tar.gz
Algorithm Hash digest
SHA256 4e94ef65c514ccda7b0d5a6c626c48c314060b2eee77b786ebda1bff876c5b7a
MD5 1d8c3bb2dadb7a5710e187a818bcd578
BLAKE2b-256 e51c5f84e43b2214f8d2669c512ee4a332530947e7d19daf1bb554d0b82f78f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmmanywhere-0.1.16.tar.gz:

Publisher: publish.yml on ImperialCollegeLondon/SWMManywhere

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page