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.2.tar.gz (13.3 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.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.2.tar.gz
  • Upload date:
  • Size: 13.3 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.2.tar.gz
Algorithm Hash digest
SHA256 3120749e71237c8dfffb46e0cc4dc40ab52c5a8ef823d51666044e19863e4d0b
MD5 e9bafd8f4943a17c0d91e8c2566ffdee
BLAKE2b-256 f4db25e02eaa3691348518c20561231afed44aa43edaa14d64ec0a6be2f097d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9196a1b27dafe65ec0366e45e40b2f7dcea4bddf95be5e496c8330121540ff07
MD5 bf60b1697bb85475902bfe7817ab3793
BLAKE2b-256 7b5d445758a7d5d7159b1bd19798d1e1e1df8f1d4d61e990dc28d803d056d227

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