uwescience / WaterReuseDSSG2024

Drivers-Based Water Reuse Potential project for DSSG summer 2024
https://uwescience.github.io/WaterReuseDSSG2024/
Apache License 2.0
1 stars 1 forks source link

code: Select variables & create initial maps for selected variables #15

Closed npovejsil closed 3 months ago

atkissoncj commented 3 months ago

Connected to #19 #18 . Also connected to others?

atkissoncj commented 3 months ago

This is revised to making sure that we can process all the variables that Carolyn has selected for us.

atkissoncj commented 3 months ago

From Carolyn's Slack message: Four variables in example formats that I would like to be able to easily map (think of this as user stories for a generalized mapping tool): Flooding risk to roads (Column W) from CVI Data Excerpts.xlsx (values to be associated with a census shapefile based on an ID column). An extension example that I will need to do will be crossing the CWNS facility locations with the flood risk by census track to create flood risk values for each facility.
@Curtis Atkisson Let me know if that is a pre-processing step or something you can build in to the mapping functionality (point data that you want to assign attributes from a shapefile to and then map) Any column from WWpctr_5arc.nc (raster with global coverage that needs to be cut to only include grid cells covering parts of the US) SWIVULN from SGD_Coastal_Vulnerabilities.csv, using Catchment_CONUS_coastline (values with an identifier tying it to a polygon shapefile provided by the user-UPON FURTHER REFLECTION, THE SPACES BETWEEN THE POLYGONS IN THIS SHAPEFILE COULD BE THE NEGATIVE IMAGE OF RIVERS. While I can look into that, you can use this shapefile as a proxy for data with polygons that have spaces between them but maybe shouldn't. I'd also be fine with you ignoring that aspect of the shapefile for this step of the mapping. However, you may need to account for that situation when you are trying to convert data to a scale derived from a user-specified shapefile in terms of how data available in negative space should be handled. @Curtis Atkisson let me know if you want to discuss this further) drinkingwater_use from ATTAINS_Assessment_20240523.gpkg (values already attached to polygons)