Process and analyze US sewershed data from CWNS
Project description
US Sewersheds
Process and analyze US sewershed data from the Clean Watersheds Needs Survey (CWNS).
Overview
This repository includes code to visualize sewershed interconnections in the US based on the 2022 Clean Watershed Needs Survey. The us_sewersheds folder includes two scripts:
- merge_cwns_data.py
- Merges multiple sources for population served into the primary facilities list.
- Functions:
main(state=None): Main processing function that can process all states or a single state.merge_population_data(facilities_df, ww_df, sso_df): Merges population data from multiple sources.build_sewershed_map(facilities_df): Creates network connections between treatment facilities.
- Required inputs:
- data/2022CWNS_NATIONAL_APR2024: Clean Watersheds Needs Survey 2022 dataset
- FACILITIES.csv: Main facilities data
- FACILITY_PERMIT.csv: Facility permit information
- AREAS_COUNTY.csv: County area information
- FACILITY_TYPES.csv: Facility type information
- FLOW.csv: Flow data
- POPULATION_WASTEWATER.csv: Wastewater population data
- POPULATION_WASTEWATER_CONFIRMED.csv: Confirmed wastewater population data
- POPULATION_DECENTRALIZED.csv: Decentralized population data
- DISCHARGES.csv: Discharge information
- data/2022CWNS_NATIONAL_APR2024: Clean Watersheds Needs Survey 2022 dataset
- sewersheds_app.py
- Deploys Streamlit application to visualize different sewersheds in the US, by state and county
Installation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file us_sewersheds-0.1.1.tar.gz.
File metadata
- Download URL: us_sewersheds-0.1.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e130a2cc24555ac280f6da1341e07ed3201a1245f20ec663b8c279fa70b76044
|
|
| MD5 |
70592181eaf8f86584df30cc70903ba2
|
|
| BLAKE2b-256 |
a8bb73d390326809769cfbf48a4e91fab7cd8d2b94faeed1ceb3e1d9b7f17566
|
Provenance
The following attestation bundles were made for us_sewersheds-0.1.1.tar.gz:
Publisher:
publish.yml on dalyw/us-sewersheds
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
us_sewersheds-0.1.1.tar.gz -
Subject digest:
e130a2cc24555ac280f6da1341e07ed3201a1245f20ec663b8c279fa70b76044 - Sigstore transparency entry: 611277796
- Sigstore integration time:
-
Permalink:
dalyw/us-sewersheds@7a3ff228c661924125071c89b2dcb184e1fa5500 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/dalyw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7a3ff228c661924125071c89b2dcb184e1fa5500 -
Trigger Event:
push
-
Statement type:
File details
Details for the file us_sewersheds-0.1.1-py3-none-any.whl.
File metadata
- Download URL: us_sewersheds-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6a26e9f79bfc1c2d14fc6ecfdb67e1fdc7c25fe47cc132e9b832d8040f49cf
|
|
| MD5 |
f7cf8a062c2295a17bcb28a03d2024c4
|
|
| BLAKE2b-256 |
df460462077e9144d069dcecb5889b3dd01cfa20aa74560371340c0f252791bc
|
Provenance
The following attestation bundles were made for us_sewersheds-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on dalyw/us-sewersheds
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
us_sewersheds-0.1.1-py3-none-any.whl -
Subject digest:
9c6a26e9f79bfc1c2d14fc6ecfdb67e1fdc7c25fe47cc132e9b832d8040f49cf - Sigstore transparency entry: 611277833
- Sigstore integration time:
-
Permalink:
dalyw/us-sewersheds@7a3ff228c661924125071c89b2dcb184e1fa5500 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/dalyw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7a3ff228c661924125071c89b2dcb184e1fa5500 -
Trigger Event:
push
-
Statement type: