This project will evaluate the influence of climate change on the security of NPS water supplies through two complimentary approaches. The first is a nation-wide water vulnerability assessment that aims to provide vulnerability scores and ranking for (mostly) all national park water supplies. The second is a series of "deep dive" vulnerability assessments for specific parks that apply more detailed methods incorporating park-specific conceptual models and data sets. The latter will initially prioritize parks in hydrologic settings most likely to experience supply challenges. Once the national assessment is complete, results will guide future targets for deep dive assessments. When a water supply is found to be sensitive to climate change and projected to experience climate-related impacts to quantity and/or quality, adaptation actions can be undertaken to further secure that water supply (e.g., increase water conservation at the site, reduce existing losses in water transmission, increase water storage, etc.)
-
{OneDrive}
data/Catchall directory containing data that was compiled, digitized, obtained from parks, and/or downloaded during CCVA development. In general, it is grouped by project task or park, though this folder could benefit from a reorganization. -
{OneDrive}
docs/CCVA Project-specific references, metadata, and resources. -
Processing/Scripts used to process data for rapid and deep dive workflows. -
Reports/Rmd scripts for individual Deep Dive Reports. -
scratch/Miscellaneous project scripts related to CCVA development that are typically either in development or exploratory in nature. -
src/Functions used to generate rapid and deep dive workflows.[Shiny Applications:]{.underline}
-
get_rockd_app/Directory containing scripts used to run a shiny app that maps the geology for parks using the macrostat (rockd) api. {under development} -
model_comparison_app/Scripts used to run a shiny app that compares NPS water balance model results to compiled estimates from 47 different hydrologic models, reanalysis datasets, and remote sensing products compiled by Saxe et al. 2021. -
rapid_app/Code and data for the interactive application for rapid CCVA results.
There are a few important files in the root directory:
setup.RExecuting this script will install and load all necessary packages and source all functions
The two main CCVA categories (rapid & deep dives) have separate workflows that utilize shared and task specific functions.
- Deep dive workflows are self-contained in individual .rmd files in the Reports/ directory.
Below is the file structure specific to the Rapid CCVA Workflow:
├── rapid_workflow.Rmd
├── rapid_data_processing.Rmd
├── rapid_app/
│ ├── app.R
│ ├── app_data/
│ │ ├── fire_exposure_2025-09-09.csv
│ │ ├── fire_sensitivity_2025-09-22.csv
│ │ ├── park_boundaries_2025-08-14.gpkg
│ │ ├── runoff_exposure_2025-09-18.csv
│ │ ├── runoff_vulnerability_indicator.csv # Katie's original runoff results
│ │ └── water_supplies.csv
│ └── manifest.json # file for publishing with Posit Connect Cloud
└── src
└── rapid
├── calc_fire_exposure.R
├── calc_fire_sensitivity.R
├── calc_runoff_exposure.R
└── helper_functions.R
rapid_workflow.Rmd: Master document for executing and testing indicators.
rapid_data_processing.Rmd: Document for executing code to pre-process any large datasets to store locally.
rapid_app/: Folder for rapid CCVA shiny app
src/rapid/: Functions specific to rapid workflow. Each indicator is organized as its own function with the file structure "calc_{indicator}_{type}.R*".* The helper_functions.R script is for any function that supplements the main indicator function(s).