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.0.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.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 31a1da4510a42b241fcc4b4c0a98f4c68cadc753eec5c4b37cfc744d7917019f
MD5 8e5f6b1ed45074d2256680bbe077bfbf
BLAKE2b-256 ee782d05234b49270d898d11138d8b8a973631f3d533e001a12e0d0599f00d84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: HPW_Tracing-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74c8ff3925454ed5d82826a175587a159c38bf5f565fee9af14adfb5606949fb
MD5 52fb04536ab5d07fb003dd99d0188769
BLAKE2b-256 774fc16bce62d37cad529b8d2a26039a95da318ddaeee934afd5eda97547755f

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