Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

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

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Place/Area Name:
Oregon, USA
North Latitude
46.4005°
East Longitude
-116.3013°
South Latitude
41.6980°
West Longitude
-125.3540°

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

  1. Public Water System (PWS) Database

    • Filename: Oregon_PWS_database.csv
    • Description: Contains information on water suppliers, including geographic and demographic attributes.

  2. 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.

Reproducible Results

To recreate the analyses and visualizations shown in Figures 3-7, do the following:

  1. 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.

  2. 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.

  3. 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.

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

${ messageObj.message }
${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

Wolfand, J. (2024). Data for "Oregon's Water Supply at Risk: Assessing Natural, Built, and Social Hazards for Improved Risk Management", HydroShare, http://www.hydroshare.org/resource/1da00454bf3740149fc50efd83327814

This resource is shared under the Creative Commons Attribution CC BY.

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required