The purpose of this repository is to provide the code and data used to quantify the impact of the internal load (legacy P load from lake sediments) on cyanHAB severity in a lake and map areas upstream of the lake with potential legacy P stores. The framework includes an impact model method and a spatial model method described below.
The code and data contained herein are provided as supplemental information (SI) associated with the following article:
Title: The impact of legacy nutrient loading from lake sediments on cyanobacteria bloom severity. Author names and affiliations: Lauren A. Knose1, David L. Cole2, Edgar Martín-Hernández3,4, Gerardo J. Ruiz-Mercado5,6*, Victor M. Zavala2, Michael A. Gonzalez5, Céline Vaneeckhaute4 1Research Participation Program, Oak Ridge Institute for Science and Education, Cincinnati, Ohio, United States 2Department of Chemical Engineering, University of Wisconsin, Madison, Wisconsin, United States 3Department of Mining and Materials Engineering, McGill University, Quebec, Canada 4Department of Chemical Engineering, Université Laval, Québec City, Canada 5Office of Research and Development, U.S. Environmental Protection Agency, Cincinnati, OH, United States 6Chemical Engineering Graduate Program, Universidad del Atlántico, Puerto Colombia 080007, Colombia
Corresponding author: *Dr. Gerardo J. Ruiz-Mercado, 26 Martin Luther King Drive West, Cincinnati, OH 45220, ruiz-mercado.gerardo@epa.gov
This repository was generated and maintained by Lauren Knose, PhD through an ORISE appointment with the U.S. EPA. Dr. Knose is the author of the impact model method. David Cole, PhD Student at the University of Wisconsin, is the author of the mapping model method. When using or referencing information from this repository, please use the citation above.
There are two model frameworks contained in this repository. The first is the impact model method for quantifying external loads, internal loads, and source attributed impact on cyanoHAB severity. This method was written using R language (version 4.2.2). The second is the spatial model method for mapping potential legacy P stores in upstream sub-watersheds and estimates the total P load per contributing area across sub-watersheds. The spatial method was written using Python language (version 3.8.5) and GeoPandas (version 0.8.2). The master (main) branch uses data from Lake Mendota, WI (USA) as the case study. Additional branches are named based on alternative case studies.
The impact model method is a series of sequential programs that take original source data, performs quality control checks and re-formats the data as new data files for input into the impact model. All programs used in this method are provided in the Impact_model_method folder. All code is written in R Markdown (.Rmd). The specific order in which R programs should be run to achieve the same results as shown in the manuscript is as follows:
The spatial model method is a series of sequential programs, written in Python language and run by the user, that take original source data, performs quality control checks and re-formats the data as new data files for input into the mapping model (SI-Figure 2). All programs used in this method are provided in the Spatial_model_method folder. All code is written in Python (.py or .ipynb). The specific order in which programs should be run to achieve the same results as shown in the manuscript is as follows:
The original (raw) data used in this project was downloaded from online public repositories and saved in the Original_data folder. The years of data included in this study were determined by the overlapping period when data was available for all variables, which occurred between 2013 and 2018 (SI-Table 1).
Any original data that was reformatted, cleaned for quality control, or derived from a model is saved in the Cleaned_data folder.
Any products, including printouts (as html or pdf), tables, and figures used to generate products for the manuscript is saved in the Products folder.