Skip to main content

HPW_Tracing - A tracing tool for creating treacable flownetwork based on City of Houston GIS data

Introduction

This tool is designed to create a traceable flow network based on the City of Houston GIS data. The tool is developed in Python and uses the NetworkX library to create a graph representation of the flow network. The tool is designed to be used in the context of the Houston Public Works (HPW) department, but can be adapted to other contexts as well. The tool is designed to be used in conjunction with the HPW's existing GIS data, which includes information about the city's infrastructure, such as manholes, pipes, and lifstations etc.

Installation

To install the tool, you need to have Python installed on your system. You can download Python from the official website: https://www.python.org/. Once you have Python installed, you can install the tool by running the following command in your terminal:

pip install hpw_tracing

Please make sure you have the latest version of hpw_tracing by running the following command in your terminal:

pip install --upgrade hpw_tracing

Tracing Usage

To use the tool, please refer the example notebook in docs folder.

  • if you are just regular user, you only need view example 4 to 7
  • if you are developer, you can view all examples

Creating subgraph or abstract graph

After version 0.1.7, the tool can create subgraph or abstract graph based on the input graph. The subgraph is created based on the input graph and the list of nodes that you want to include in the subgraph. The abstract graph is created based on the input graph and the list of nodes that you want to include in the abstract graph. The abstract graph is a simplified version of the input graph, where the nodes are grouped together based on the input list of nodes. The abstract graph can be used to represent the flow network in a more compact and easy-to-understand way.

  • for example, you can create subgraph that only includes waterwater treatment plant and liftstaions to better analyze the flow network between these two types of nodes.

The subgraph example is in its own folder within the doc folder because it contains a detailed step on how to create and use a subgraph. It is recommneded to recreate the ls, flowmeter and wwtp lookup tables everytime you run the notebook, because whenever the db is re-generated, the previously lookup table will be obsolete.

Metadata

Release files for HPW-Tracing 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HPW-Tracing 0.3.3
File Size Uploaded
HPW_Tracing-0.3.3.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for HPW-Tracing 0.3.3
File Interpreter ABI Platform
HPW_Tracing-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / HPW_Tracing-0.3.3.tar.gz

Download URL HPW_Tracing-0.3.3.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3309dcc9a19814ec029d39760a68c6904c566468b74580567180d8f286bbabb6
BLAKE2b-256 checksum
How to use checksums
7487803abcfb45f715df62d77d3906115588fc78c4bcf529e307fee7a13e69b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / HPW_Tracing-0.3.3-py3-none-any.whl

Download URL HPW_Tracing-0.3.3-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68ca7de02af4831dfae3b8b3c44a42ac9edef1d367691370277916deb8f4ca20
BLAKE2b-256 checksum
How to use checksums
ecc6be85dca268a465759a3112b16a46304747ee9eadd4a27eeeb9d0b4ac3696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page