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.3.tar.gz (13.4 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.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.3.tar.gz
  • Upload date:
  • Size: 13.4 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.3.tar.gz
Algorithm Hash digest
SHA256 3309dcc9a19814ec029d39760a68c6904c566468b74580567180d8f286bbabb6
MD5 20ffa7f8578092b4f28cb855e9773382
BLAKE2b-256 7487803abcfb45f715df62d77d3906115588fc78c4bcf529e307fee7a13e69b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 68ca7de02af4831dfae3b8b3c44a42ac9edef1d367691370277916deb8f4ca20
MD5 ec6054c27b82e82c6ced0c1c2d2eb168
BLAKE2b-256 ecc6be85dca268a465759a3112b16a46304747ee9eadd4a27eeeb9d0b4ac3696

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