Skip to main content

No project description provided

Project description

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.

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

HPW_Tracing-0.3.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

HPW_Tracing-0.3.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file HPW_Tracing-0.3.1.tar.gz.

File metadata

  • Download URL: HPW_Tracing-0.3.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for HPW_Tracing-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c208008b3eafe0e0d290df64a544caf8281da6d85da6d1a42a64690fa7d8f5e7
MD5 445ce978c77780f925746310eb7486fd
BLAKE2b-256 b950439f72163a954977f05534b69eb11b95cc5a14a03d47ad503222c8eb3ef5

See more details on using hashes here.

File details

Details for the file HPW_Tracing-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: HPW_Tracing-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for HPW_Tracing-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f13b345ee5cc5386e20d13810ea78cea76de1c2754707ed1ffbf011c488b60e3
MD5 146147d28c6d6707ddea06ea0f19fbab
BLAKE2b-256 5c0cc8409cfd3114cf0f7d6a8e214aafb2ef1f42778b2a1333e4dec0f608b175

See more details on using hashes here.

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