Analyzing the effects of a 2022 drawdown on water quality in Beaverdam Reservoir
Carbon dioxide, drawdown, dissolved oxygen, high-frequency sensors, nitrogen, phosphorus, phytoplankton, reservoir, thermal stratification, water level
-
Data for this study published in the Environmental Data Initiative data portal. Data analysis code directly pulls from these sources:
- Water chemistry (Carey et al. 2023a)
- Greenhouse gases (Carey et al. 2023b)
- CTD (Carey et al. 2023c)
- YSI oxygen sensor (Carey et al. 2023d)
- Phytoplankton spectral groups (Carey et al. 2023e)
- In-situ sensors (Carey et al. 2023f)
- Meteorology (Carey and Breef-Pilz 2023)
- Metals (Schreiber et al. 2023)
-
Additional auxiliary data are presented in ./External data:
- NID_YearCompleted_SurfaceArea_State.csv: National Inventory of Dams Database (available here). These data were obtained on xxxx (just in case it changes...)
Scripts to load data from EDI and calculate relevant summary metrics (e.g., Schmidt stability). Each code file corresponds to one data package on EDI. These code files do not produce any statistics or figures for the main manuscript, rather they output compiled data products, which are stored in Processed_data. R/install.R can be used to download all necessary packages.
- Metals.Rmd:
- Load and format metals data from EDI
- Chem.Rmd
- Load and format chemistry (N, P, DOC) data from EDI
- GHG.Rmd
- Load and format greenhouse gas (GHG) data from EDI
- CTD.Rmd
- Load and format CTD data from EDI and calculate euphotic zone depth
- Fluoroprobe.Rmd
- Load and format fluoroprobe data from EDI and calculate peak width and Cmax depth
- Thermistors.Rmd
- Load and format in-situ thermistor and meteorological data from EDI. Calculate physical metrics that will be used in Figures 2, 3, 4, and 7
- Meteorology.Rmd
- Load and format meteorological data
These scripts use data files in ./Processed_data (generated using the scripts in 01_Load_and_process_data) to produce figures and statistics for the manuscript. R/install.R can be used to download all necessary packages.
- Figures_2to4.Rmd
- Analyze reservoir physics and meteorological data and generate Figures 2-4
- Figures_5to7.Rmd
- Generate time-series line plots of variables of interest (Figures 5-7)
- Fluoroprobe - SI figure and summary stats.Rmd
- Calculate summary statistics for fluoroprobe data and create an SI figure
- Meteorology statisitics.R
- Generate summary statistics for meteorological data
- SI_habitat_suitability.Rmd
- Generate figures of habitat suitability for SI
- SI_NID.Rmd
- Analyze data from the national inventory of dams to understand the distribution of reservoir sizes in the U.S.
Downloaded data (unmodified from original source)
Compiled datasets, created by the scripts in 01_Load_and_process_data
Helper functions referenced by data analysis code