This is a public repository for the code needed to recreate the analysis in Oleksy & Richardson 2021: "Climate change and teleconnections amplify lake stratification with differential local controls of surface water warming and deep water cooling."
├── 000_startHere.R
├── README.md
├── analysis
│ ├── Analysis1_OverallTrendsAndSummaryFigures.R
│ ├── Analysis2_LakeTrends.R
│ ├── Analysis3_MixingActionsDrivers.R
│ ├── Analysis4_MethodsCheckProfilesMixingAction.R
│ └── Analysis5_correlations.R
├── data
├── figures
│ ├── manuscript
│ ├── supplementary
│ └── tables
├── mohonkClimateTeleconnections.Rproj
├── renv
│ ├── activate.R
│ ├── library
│ │ └── R-4.0
│ │ └── x86_64-apple-darwin17.0 [183 entries exceeds filelimit, not opening dir]
│ ├── local
│ ├── settings.dcf
│ └── staging
├── renv.lock
└── script
├── dataMunging.R
├── helperFunctions.R
├── loadDataAndQAQC.R
└── readEDI.R
- All of the helper functions (fetching data from EDI and local
datafolder, QA/QC, data manipulation) are located in thescriptfolder. - Our workflow is divided into five separate analysis scripts:
Analysis1_OverallTrendsAndSummaryFigures.RAnalysis2_LakeTrends.RAnalysis3_MixingActionDrivers.RAnalysis4_MethodsCheckProfilesMixingAction.RAnalysis5_correlations.R
- The file
000_startHere.Ris a wrapper script where you can source all the necessary scripts to recreate our analysis.
Most of the data on Mohonk Lake used in this analysis is available through Environmental Data Inititative:
Mohonk Preserve, C. Belardo, N. Feldsine, P. Huth, E.C. Long, M. Napoli, I.A. Oleksy, D.C. Richardson, D. Smiley, and J. Thompson. 2020. Weekly and high frequency temperature profile data and Secchi depth, Mohonk Lake, NY, USA, 1985 to 2017 ver 1. Environmental Data Initiative. https://doi.org/10.6073/pasta/7b67399344129afc63cd57e99e778160 (Accessed 2021-11-16).
Here, we used a 35-year dataset of weekly, year-round temperature profiles for Mohonk Lake, NY, to evaluate local, regional, and global drivers of trends in lake thermal structure. Our objectives were twofold. First, we explored hypothesized climatic drivers at different seasonal scales and identified the mechanisms responsible for temperature changes in surface and deep waters in a small, dimictic lake (Figure S1). Second, we aimed to explain drivers of interannual variability in lake thermal structure and stratification phenology. We developed a metric to capture all details about the stratified period–including timing of onset of stratification, stratification strength, length of stratification–called mixing action, defined as the total energy required to mix a lake over an entire stratified season. We compared mixing action directly to global metrics of climate change and teleconnections because both simultaneously affect the same local weather variables. We expected mixing action to increase with global atmospheric warming, but that some of the variability from that relationship would relate to teleconnections.
Other ancillary data used in the analysis is available in the data folder.
Please direct any inquiries to bellaoleksy at gmail dot com
