Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
Data for "Oregon's Water Supply at Risk: Assessing Natural, Built, and Social Hazards for Improved Risk Management"
Authors: |
|
|
---|---|---|
Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) to determine if accessing this resource is possible. |
Type: | Resource | |
Storage: | The size of this resource is 3.9 MB | |
Created: | Oct 16, 2024 at 4:18 p.m. (UTC) | |
Last updated: | Nov 05, 2024 at 6:30 p.m. (UTC) | |
Citation: | See how to cite this resource |
Sharing Status: | Private (Accessible via direct link sharing) |
---|---|
Views: | 334 |
Downloads: | 19 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
Data for a study to characterize the risk and resiliency of water suppliers in Oregon as described in a forthcoming manuscript by Wolfand et al.
The README file provides: (1) a folder of data that includes a database of public water suppliers (PWS) and a shapefile of surface water drinking water source areas (DWSAs), corresponding to the PWSs and (2) a folder with R and Python code to reproduce the network and clustering analysis and recreate Figures 4-7.
Subject Keywords
Coverage
Spatial
Content
README.md
README: Data and Code for Oregon Water Supply Analysis
Overview
This repository contains data and code utilized for the paper titled "Oregon’s water supply at risk: assessing natural, built, and social hazards for improved risk management". Data supports assessing natural, built, and social stressors for water suppliers and aids in network and hierarchical clustering analysis.
Databases
-
Public Water System (PWS) Database
- Filename:
Oregon_PWS_database.csv
- Description: Contains information on water suppliers, including geographic and demographic attributes.
- Filename:
-
Surface Water Drinking Water Source Area (DWSA) Shapefile
- Filename:
OregonSurfaceWaterDrinkingWaterSourceArea.zip
- Description: Shapefile for source water areas that correspond to PWS in the database. Includes geographic information and natural hazards data.
- Filename:
Reproducible Results
To recreate the analyses and visualizations shown in Figures 3-7, do the following:
-
Download Required Files
- Download all files in the
reproducible_results
folder. Keep the files together in the same folder to ensure paths to the files remain correct.
- Download all files in the
-
Run the Python Script
- Open
fig3.py
in your Python editor of choice (such as Jupyter Notebook, VS Code, or the terminal). - Ensure you have all required Python libraries installed (e.g.,
pandas
,networkx
,matplotlib
). You can install them using:bash pip install -r requirements.txt
- Run the script to generate network visualizations for Figure 3.
- Open
-
Run the R Script
- Open
create_figs4-7.R
in R or RStudio (created with R version 4.3.1 and tested with R version 4.4.2). - Set the Working Directory: In RStudio, go to
Session > Set Working Directory > To Source File Location
to set your working directory to the folder containing the downloaded files. - Install Missing Packages: If prompted about missing packages, you can install them by running:
R install.packages("package_name")
- After installing any required packages, run the R script to reproduce Figures 4-7.
- Open
These steps will recreate the analysis and visualizations as described in the paper.
Contact
For questions or support, contact wolfand@up.edu.
Related Geospatial Features
This HydroShare resource is linked to the following geospatial features
Learn more about Related Geospatial Features
We highly recommend that you add Spatial Coverage to this resource before searching for related geospatial features. Otherwise query times can be excessive.
${value.text} | ${value.text} |
Click a point to search for features that overlap with that location.
Select a feature for more information.
Credits
Funding Agencies
This resource was created using funding from the following sources:
Agency Name | Award Title | Award Number |
---|---|---|
Oregon Alliance of Independent Colleges and Universities | Katherine Bisbee II Fund of the Oregon Community Foundation |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment